Package com.okta.commons.http
Class InvalidMediaTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.okta.commons.http.InvalidMediaTypeException
- All Implemented Interfaces:
Serializable
Exception thrown from
MediaType.parseMediaType(String) in case of
encountering an invalid media type specification String.- Since:
- 0.5.0
- Author:
- Juergen Hoeller
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getMediaType
Return the offending media type.- Returns:
- the offending media type
-