Package com.inrupt.client.solid
Class UnsupportedMediaTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.inrupt.client.InruptClientException
com.inrupt.client.solid.SolidClientException
com.inrupt.client.solid.UnsupportedMediaTypeException
- All Implemented Interfaces:
Serializable
A runtime exception that represents an HTTP unsupported media type (415) response.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUnsupportedMediaTypeException
(String message, URI uri, Headers headers, String body) Create an UnsupportedMediaTypeException exception. -
Method Summary
Methods inherited from class com.inrupt.client.solid.SolidClientException
getBody, getHeaders, getProblemDetails, getStatusCode, getUri, handle
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
STATUS_CODE
public static final int STATUS_CODE- See Also:
-
-
Constructor Details
-
UnsupportedMediaTypeException
Create an UnsupportedMediaTypeException exception.- Parameters:
message
- the messageuri
- the uriheaders
- the response headersbody
- the body
-