|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ServletException org.springframework.web.HttpMediaTypeException org.springframework.web.HttpMediaTypeNotAcceptableException
public class HttpMediaTypeNotAcceptableException
Exception thrown when the request handler cannot generate a response that is acceptable by the client.
Constructor Summary | |
---|---|
HttpMediaTypeNotAcceptableException(java.util.List<MediaType> supportedMediaTypes)
Create a new HttpMediaTypeNotSupportedException. |
|
HttpMediaTypeNotAcceptableException(java.lang.String message)
Create a new HttpMediaTypeNotAcceptableException. |
Method Summary |
---|
Methods inherited from class org.springframework.web.HttpMediaTypeException |
---|
getSupportedMediaTypes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpMediaTypeNotAcceptableException(java.lang.String message)
message
- the exception messagepublic HttpMediaTypeNotAcceptableException(java.util.List<MediaType> supportedMediaTypes)
supportedMediaTypes
- the list of supported media types
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |