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
Constructor and Description |
---|
InvalidSnsTopicException(String message)
Constructs a new InvalidSnsTopicException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
String |
getTopic() |
void |
setTopic(String topic) |
InvalidSnsTopicException |
withTopic(String topic) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, 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)
topic
- public String getTopic()
public InvalidSnsTopicException withTopic(String topic)
topic
- Copyright © 2016. All rights reserved.