public class InvalidSnsTopicException extends AmazonServiceException
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
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private java.lang.String |
topic |
Constructor and Description |
---|
InvalidSnsTopicException(java.lang.String message)
Constructs a new InvalidSnsTopicException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTopic() |
void |
setTopic(java.lang.String topic) |
InvalidSnsTopicException |
withTopic(java.lang.String topic) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String topic
public InvalidSnsTopicException(java.lang.String message)
message
- Describes the error encountered.public void setTopic(java.lang.String topic)
topic
- public java.lang.String getTopic()
public InvalidSnsTopicException withTopic(java.lang.String topic)
topic
-