public class UnsupportedLanguageException extends AmazonServiceException
 Amazon Comprehend can't process the language of the input text. For all
 custom entity recognition APIs (such as CreateEntityRecognizer),
 only English, Spanish, French, Italian, German, or Portuguese are 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(java.lang.String message)
Constructs a new UnsupportedLanguageException with the specified error
 message. 
 | 
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.