java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | javax.servlet.ServletException | ||||
↳ | org.springframework.web.HttpMediaTypeException | ||||
↳ | org.springframework.web.HttpMediaTypeNotAcceptableException |
Exception thrown when the request handler cannot generate a response that is acceptable by the client.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new HttpMediaTypeNotAcceptableException.
| |||||||||||
Create a new HttpMediaTypeNotSupportedException.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.web.HttpMediaTypeException
| |||||||||||
From class
javax.servlet.ServletException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Create a new HttpMediaTypeNotAcceptableException.
message | the exception message |
---|
Create a new HttpMediaTypeNotSupportedException.
supportedMediaTypes | the list of supported media types |
---|