Class UnsupportedMediaTypeException

All Implemented Interfaces:
Serializable

public class UnsupportedMediaTypeException extends HttpException

A HTTP exception that indicates that the request body is of an Unsupported Media Type (415) for the requested resource.

Since:
1.0
Author:
Jeremy Kuhn
See Also:
  • Constructor Details

    • UnsupportedMediaTypeException

      public UnsupportedMediaTypeException()

      Creates an unsupported media type exception.

    • UnsupportedMediaTypeException

      public UnsupportedMediaTypeException(String message)

      Creates an unsupported media type exception with the specified message.

      Parameters:
      message - a message
    • UnsupportedMediaTypeException

      public UnsupportedMediaTypeException(Throwable cause)

      Creates an unsupported media type exception with the specified cause.

      Parameters:
      cause - a cause
    • UnsupportedMediaTypeException

      public UnsupportedMediaTypeException(String message, Throwable cause)

      Creates an unsupported media type exception with the specified message and cause.

      Parameters:
      message - a message
      cause - a cause