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