public class HttpMediaTypeNotAcceptableException extends HttpMediaTypeException
| Constructor and Description |
|---|
HttpMediaTypeNotAcceptableException(java.util.List<MediaType> supportedMediaTypes)
Create a new HttpMediaTypeNotSupportedException.
|
HttpMediaTypeNotAcceptableException(java.lang.String message)
Create a new HttpMediaTypeNotAcceptableException.
|
getSupportedMediaTypesgetRootCausepublic HttpMediaTypeNotAcceptableException(java.lang.String message)
message - the exception messagepublic HttpMediaTypeNotAcceptableException(java.util.List<MediaType> supportedMediaTypes)
supportedMediaTypes - the list of supported media types