Package com.smartsheet.api
Class AuthorizationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.smartsheet.api.SmartsheetException
-
- com.smartsheet.api.SmartsheetRestException
-
- com.smartsheet.api.AuthorizationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AccessTokenExpiredException
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizationException(Error error)
Constructor.
-
Method Summary
-
Methods inherited from class com.smartsheet.api.SmartsheetRestException
getDetail, getErrorCode, getRefId
-
-
-
-
Constructor Detail
-
AuthorizationException
public AuthorizationException(Error error)
Constructor.- Parameters:
error
- the Error object from Smartsheet REST API
-
-