Package com.smartsheet.api.oauth
Class OAuthTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.smartsheet.api.SmartsheetException
-
- com.smartsheet.api.oauth.OAuthTokenException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InvalidOAuthClientException
,InvalidOAuthGrantException
,InvalidTokenRequestException
,UnsupportedOAuthGrantTypeException
public class OAuthTokenException extends SmartsheetException
This is the exception thrown by
OAuthFlow
to indicate errors occurred during obtaining OAuth tokens.Thread safety: Exceptions are not thread safe.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuthTokenException(java.lang.String message)
Constructor.OAuthTokenException(java.lang.String message, java.lang.Throwable cause)
Constructor.
-
-
-
Constructor Detail
-
OAuthTokenException
public OAuthTokenException(java.lang.String message)
Constructor.- Parameters:
message
- the message
-
OAuthTokenException
public OAuthTokenException(java.lang.String message, java.lang.Throwable cause)
Constructor.- Parameters:
message
- the messagecause
- the cause
-
-