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
InternalServerException
[ 'Message' => '<string>', ]
Description
Indicates a platform issue, which may be due to a transient condition or outage.
Members
- Message
-
- Type: string
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
- AthenaErrorCode
-
- Type: string
The error code returned when the query execution failed to process, or when the processing request for the named query failed.
- Message
-
- Type: string
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
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceName' => '<string>', ]
Description
A resource, such as a workgroup, was not found.
Members
- Message
-
- Type: string
- ResourceName
-
- Type: string
The name of the Amazon resource.
SessionAlreadyExistsException
[ 'Message' => '<string>', ]
Description
The specified session already exists.
Members
- Message
-
- Type: string
TooManyRequestsException
[ 'Message' => '<string>', 'Reason' => 'CONCURRENT_QUERY_LIMIT_EXCEEDED', ]
Description
Indicates that the request was throttled.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the query throttling, for example, when it exceeds the concurrent query limit.