public class HttpMediaTypeNotAcceptableException extends HttpMediaTypeException
| Constructor and Description |
|---|
HttpMediaTypeNotAcceptableException(List<MediaType> supportedMediaTypes)
Create a new HttpMediaTypeNotSupportedException.
|
HttpMediaTypeNotAcceptableException(String message)
Create a new HttpMediaTypeNotAcceptableException.
|
getSupportedMediaTypesgetRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpMediaTypeNotAcceptableException(String message)
message - the exception message