@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetadataException extends AmazonAthenaException
An exception that Athena received when it called a custom metastore. Occurs if the error is not caused by user input
(InvalidRequestException
) or from the Athena platform (InternalServerException
). For
example, if a user-created Lambda function is missing permissions, the Lambda 4XX
exception is returned
in a MetadataException
.
AmazonServiceException.ErrorType
Constructor and Description |
---|
MetadataException(String message)
Constructs a new MetadataException 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, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MetadataException(String message)
message
- Describes the error encountered.