@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ForbiddenException extends AWSServerlessApplicationRepositoryException
The client is not authenticated.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ForbiddenException(String message)
Constructs a new ForbiddenException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
403
|
void |
setErrorCode(String errorCode)
403
|
ForbiddenException |
withErrorCode(String errorCode)
403
|
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ForbiddenException(String message)
message
- Describes the error encountered.public void setErrorCode(String errorCode)
403
setErrorCode
in class AmazonServiceException
errorCode
- 403public String getErrorCode()
403
getErrorCode
in class AmazonServiceException
public ForbiddenException withErrorCode(String errorCode)
403
errorCode
- 403