public class AuthorizationException extends SmartsheetRestException
This is the exception to indicate authorization (access token) related errors returned from Smartsheet REST API.
Basically this exception will be thrown when the Smartsheet REST API responds with "401 NOT AUTHORIZED" / "403 FORBIDDEN"
Thread safety: Exceptions are not thread safe.
| Constructor and Description |
|---|
AuthorizationException(Error error)
Constructor.
|
getDetail, getErrorCode, getRefIdaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthorizationException(Error error)
error - the Error object from Smartsheet REST APICopyright © 2014–2019 Smartsheet. All rights reserved.