Class AthenaConnectorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.athena.connector.lambda.exceptions.AthenaConnectorException
-
- All Implemented Interfaces:
Serializable
public class AthenaConnectorException extends RuntimeException
Exception that should be thrown by each individual Connector when an error is encountered. That error will be using these following ErrorCode FederationSourceErrorCode: AccessDeniedException("AccessDeniedException"), EntityNotFoundException("EntityNotFoundException"), InvalidCredentialsException("InvalidCredentialsException"), InvalidInputException("InvalidInputException"), InvalidResponseException("InvalidResponseException"), OperationTimeoutException("OperationTimeoutException"), OperationNotSupportedException("OperationNotSupportedException"), InternalServiceException("InternalServiceException"), PartialFailureException("PartialFailureException"), ThrottlingException("ThrottlingException");- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AthenaConnectorException(Object response, String message, Exception e, software.amazon.awssdk.services.glue.model.ErrorDetails errorDetails)
AthenaConnectorException(Object response, String message, software.amazon.awssdk.services.glue.model.ErrorDetails errorDetails)
AthenaConnectorException(String message, software.amazon.awssdk.services.glue.model.ErrorDetails errorDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description software.amazon.awssdk.services.glue.model.ErrorDetails
getErrorDetails()
Object
getResponse()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AthenaConnectorException
public AthenaConnectorException(@Nonnull Object response, @Nonnull String message, @Nonnull software.amazon.awssdk.services.glue.model.ErrorDetails errorDetails)
-
AthenaConnectorException
public AthenaConnectorException(@Nonnull String message, @Nonnull software.amazon.awssdk.services.glue.model.ErrorDetails errorDetails)
-
-
Method Detail
-
getResponse
public Object getResponse()
-
getErrorDetails
public software.amazon.awssdk.services.glue.model.ErrorDetails getErrorDetails()
-
-