public class ForbiddenException extends AmazonServiceException
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ForbiddenException(String message)
Constructs a new ForbiddenException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessControlAllowOrigin()
Returns the value of the accessControlAllowOrigin property for this
object.
|
MessageBody |
getMessageBody()
Returns the value of the messageBody property for this object.
|
void |
setAccessControlAllowOrigin(String accessControlAllowOrigin)
Sets the value of accessControlAllowOrigin
|
void |
setMessageBody(MessageBody messageBody)
Sets the value of messageBody
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ForbiddenException(String message)
message - Describes the error encountered.public String getAccessControlAllowOrigin()
public void setAccessControlAllowOrigin(String accessControlAllowOrigin)
accessControlAllowOrigin - The new value for the
accessControlAllowOrigin property for this object.public MessageBody getMessageBody()
public void setMessageBody(MessageBody messageBody)
messageBody - The new value for the messageBody property for this
object.Copyright © 2017. All rights reserved.