Class AthenaException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Athena\Exception\AthenaException
- Namespace: Aws\Athena\Exception
- Located at Athena/Exception/AthenaException.php
Represents an error interacting with the Amazon Athena service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
The following are the known exception codes and corresponding data shapes that
this service may return as part of an error response.
InternalServerException
[ 'Message' => '<string>', ]
Description
Indicates a platform issue, which may be due to a transient condition or outage.
Members
InvalidRequestException
[ 'AthenaErrorCode' => '<string>', 'Message' => '<string>', ]
Description
Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.
Members
MetadataException
[ 'Message' => '<string>', ]
Description
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
.
Members
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceName' => '<string>', ]
Description
A resource, such as a workgroup, was not found.
Members
SessionAlreadyExistsException
[ 'Message' => '<string>', ]
TooManyRequestsException
[ 'Message' => '<string>', 'Reason' => 'CONCURRENT_QUERY_LIMIT_EXCEEDED', ]