public abstract class HttpMediaTypeException extends ServletException
MediaTypes
.Modifier | Constructor and Description |
---|---|
protected |
HttpMediaTypeException(String message)
Create a new HttpMediaTypeException.
|
protected |
HttpMediaTypeException(String message,
List<MediaType> supportedMediaTypes)
Create a new HttpMediaTypeException with a list of supported media types.
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
getSupportedMediaTypes()
Return the list of supported media types.
|
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected HttpMediaTypeException(String message)
message
- the exception message