public class ForbiddenException extends ServiceResponseException
Constructor and Description |
---|
ForbiddenException(String message,
okhttp3.Response response)
Instantiates a new Forbidden Exception.
|
getResponse, getStatusCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ForbiddenException(String message, okhttp3.Response response)
message
- the error messageresponse
- the HTTP responseCopyright © 2015–2016 IBM Watson. All rights reserved.