@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidTemplateException extends AmazonSimpleEmailServiceException
Indicates that a template could not be created because it contained invalid JSON.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidTemplateException(String message)
Constructs a new InvalidTemplateException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getTemplateName() |
void |
setTemplateName(String templateName) |
InvalidTemplateException |
withTemplateName(String templateName) |
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 InvalidTemplateException(String message)
message
- Describes the error encountered.public void setTemplateName(String templateName)
templateName
- public String getTemplateName()
public InvalidTemplateException withTemplateName(String templateName)
templateName
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.