Constructs Amazon_SimpleDB_Exception
Amazon_SimpleDB_Exception
__construct
([ $errorInfo = array()])
-
array
$errorInfo: details of exception. Keys are:
- Message - (string) text message for an exception
- StatusCode - (int) HTTP status code at the time of exception
- ErrorCode - (string) specific error code returned by the service
- ErrorType - (string) Possible types: Sender, Receiver or Unknown
- BoxUsage - (string) Measure of machine utilization for this request.
- RequestId - (string) request id returned by the service
- XML - (string) compete xml response at the time of exception
- Exception - (Exception) inner exception if any
Redefinition of:
- Exception::constructor __construct ( [$message = ], [$code = ] )
Measure of machine utilization for this request.
string
getBoxUsage
()
Gets error type returned by the service if available.
string
getErrorCode
()
Gets error message
string
getErrorMessage
()
Gets error type returned by the service.
string
getErrorType
()
Gets Request ID returned by the service if available.
string
getRequestId
()
Gets status code returned by the service if available. If status code is set to -1, it means that status code was unavailable at the time exception was thrown
int
getStatusCode
()
Gets XML returned by the service if available.
string
getXML
()
Inherited Methods
Inherited From Exception (Internal Class)
constructor __construct ( [$message = ], [$code = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )