@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotAuthorizedException extends AmazonCognitoIdentityException
Thrown when a user is not authorized to access the requested resource.
AmazonServiceException.ErrorType
Constructor and Description |
---|
NotAuthorizedException(String message)
Constructs a new NotAuthorizedException with the specified error message.
|
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 NotAuthorizedException(String message)
message
- Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.