Class CloudHSMV2Exception
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\CloudHSMV2\Exception\CloudHSMV2Exception
- Namespace: Aws\CloudHSMV2\Exception
- Located at CloudHSMV2/Exception/CloudHSMV2Exception.php
Represents an error interacting with the AWS CloudHSM V2 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.
CloudHsmAccessDeniedException
[ 'Message' => '<string>', ]
Description
The request was rejected because the requester does not have permission to perform the requested operation.
Members
CloudHsmInternalFailureException
[ 'Message' => '<string>', ]
Description
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
Members
CloudHsmInvalidRequestException
[ 'Message' => '<string>', ]
Description
The request was rejected because it is not a valid request.
Members
CloudHsmResourceNotFoundException
[ 'Message' => '<string>', ]
Description
The request was rejected because it refers to a resource that cannot be found.
Members
CloudHsmServiceException
[ 'Message' => '<string>', ]
CloudHsmTagException
[ 'Message' => '<string>', ]