@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 custom entity recognition APIs (such as
CreateEntityRecognizer), only English is accepted. For most other APIs, such as those for Custom
Classification, Amazon Comprehend accepts text in all supported languages. For a list of supported languages, see
supported-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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsupportedLanguageException(String message)
message - Describes the error encountered.Copyright © 2019. All rights reserved.