public class NotSupportedException extends ClientErrorException
not supported
.Constructor and Description |
---|
NotSupportedException()
Construct a new unsupported media type exception.
|
NotSupportedException(Response response)
Construct a new unsupported media type exception.
|
NotSupportedException(Response response,
Throwable cause)
Construct a new unsupported media type exception.
|
NotSupportedException(Throwable cause)
Construct a new unsupported media type exception.
|
getResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotSupportedException()
public NotSupportedException(Response response)
response
- error response.IllegalArgumentException
- in case the status code set in the response
is not HTTP 415
.public NotSupportedException(Throwable cause)
cause
- the underlying cause of the exception.public NotSupportedException(Response response, Throwable cause)
response
- error response.cause
- the underlying cause of the exception.IllegalArgumentException
- in case the status code set in the response
is not HTTP 415
.Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.