@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExpiredTokenException extends AWSSSOOIDCException
Indicates that the token issued by the service is expired and is no longer valid.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ExpiredTokenException(String message)
Constructs a new ExpiredTokenException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getError_description() |
String |
getError() |
void |
setError_description(String error_description) |
void |
setError(String error) |
ExpiredTokenException |
withError_description(String error_description) |
ExpiredTokenException |
withError(String error) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ExpiredTokenException(String message)
message
- Describes the error encountered.public void setError(String error)
error
- public String getError()
public ExpiredTokenException withError(String error)
error
- public void setError_description(String error_description)
error_description
- public String getError_description()
public ExpiredTokenException withError_description(String error_description)
error_description
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.