Class UnsupportedMediaTypeException

All Implemented Interfaces:
Serializable, Response

public class UnsupportedMediaTypeException extends ResourceException
Indicates a 415 Unsupported Media Type response that the Content-Type of the request was not acceptable.
See Also:
  • Constructor Details

    • UnsupportedMediaTypeException

      public UnsupportedMediaTypeException(String message)
      Constructs the exception with a status code of 415 and the given message.
      Parameters:
      message - the error message.