@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidSnsTopicException extends AmazonSimpleEmailServiceException
Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES could not publish to the topic, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidSnsTopicException(String message)
Constructs a new InvalidSnsTopicException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getTopic()
Indicates that the topic does not exist.
|
void |
setTopic(String topic)
Indicates that the topic does not exist.
|
InvalidSnsTopicException |
withTopic(String topic)
Indicates that the topic does not exist.
|
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 InvalidSnsTopicException(String message)
message
- Describes the error encountered.public void setTopic(String topic)
Indicates that the topic does not exist.
topic
- Indicates that the topic does not exist.public String getTopic()
Indicates that the topic does not exist.
public InvalidSnsTopicException withTopic(String topic)
Indicates that the topic does not exist.
topic
- Indicates that the topic does not exist.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.