java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | javax.servlet.ServletException | ||||
↳ | org.springframework.web.HttpMediaTypeException | ||||
↳ | org.springframework.web.HttpMediaTypeNotSupportedException |
Exception thrown when a client POSTs or PUTs content not supported by request handler.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new HttpMediaTypeNotSupportedException.
| |||||||||||
Create a new HttpMediaTypeNotSupportedException.
| |||||||||||
Create a new HttpMediaTypeNotSupportedException.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the HTTP request content type method that caused the failure.
|
[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 HttpMediaTypeNotSupportedException.
message | the exception message |
---|
Create a new HttpMediaTypeNotSupportedException.
contentType | the unsupported content type |
---|---|
supportedMediaTypes | the list of supported media types |
Create a new HttpMediaTypeNotSupportedException.
contentType | the unsupported content type |
---|---|
supportedMediaTypes | the list of supported media types |
msg | the detail message |
Return the HTTP request content type method that caused the failure.