public class UnsupportedDocumentException extends AmazonServiceException
The format of the input document isn't supported. Amazon Textract supports documents that are .png or .jpg format.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
UnsupportedDocumentException(String message)
Constructs a new UnsupportedDocumentException with the specified error
message.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsupportedDocumentException(String message)
message - Describes the error encountered.Copyright © 2019. All rights reserved.