@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsupportedLanguageException extends AmazonComprehendException
Amazon Comprehend can't process the language of the input text. For all APIs except
DetectDominantLanguage
, Amazon Comprehend accepts only English or Spanish text. For the
DetectDominantLanguage
API, Amazon Comprehend detects 100 languages. For a list of languages, see
how-languages
AmazonServiceException.ErrorType
Constructor and Description |
---|
UnsupportedLanguageException(String message)
Constructs a new UnsupportedLanguageException with the specified error message.
|
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 UnsupportedLanguageException(String message)
message
- Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.