public class ForbiddenException extends ClientErrorException
forbidden
by the server.| Constructor and Description |
|---|
ForbiddenException()
Construct a new "forbidden" exception.
|
ForbiddenException(Response response)
Construct a new "forbidden" exception.
|
ForbiddenException(Response response,
Throwable cause)
Construct a new "forbidden" exception.
|
ForbiddenException(Throwable cause)
Construct a new "forbidden" exception.
|
getResponseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ForbiddenException()
public ForbiddenException(Response response) throws IllegalArgumentException
response - error response.IllegalArgumentException - in case the status code set in the response
is not HTTP 403.public ForbiddenException(Throwable cause)
cause - the underlying cause of the exception.public ForbiddenException(Response response, Throwable cause) throws IllegalArgumentException
response - error response.cause - the underlying cause of the exception.IllegalArgumentException - in case the status code set in the response
is not HTTP 403.Copyright © 2013. All Rights Reserved.