@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TextLengthExceededException extends AmazonPollyException
The value of the "Text" parameter is longer than the accepted limits. For the SynthesizeSpeech API, the
limit for input text is a maximum of 6000 characters total, of which no more than 3000 can be billed characters. For
the StartSpeechSynthesisTask API, the maximum is 200,000 characters, of which no more than 100,000 can
be billed characters. SSML tags are not counted as billed characters.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
TextLengthExceededException(String message)
Constructs a new TextLengthExceededException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TextLengthExceededException(String message)
message - Describes the error encountered.