Class 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 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)
      • AthenaConnectorException

        public AthenaConnectorException​(@Nonnull
                                        Object response,
                                        @Nonnull
                                        String message,
                                        @Nonnull
                                        Exception e,
                                        @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()