|
Spring for Android | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.springframework.http.InvalidMediaTypeException
public class InvalidMediaTypeException
Exception thrown from MediaType.parseMediaType(String) in case of
encountering an invalid media type specification String.
| Constructor Summary | |
|---|---|
InvalidMediaTypeException(java.lang.String mediaType,
java.lang.String msg)
Create a new InvalidMediaTypeException for the given media type. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMediaType()
Return the offending media type. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidMediaTypeException(java.lang.String mediaType,
java.lang.String msg)
mediaType - the offending media typemsg - a detail message indicating the invalid part| Method Detail |
|---|
public java.lang.String getMediaType()
|
Spring for Android | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||