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