Class Amazon_SimpleDB_Exception

Description

Simple DB Exception provides details of errors

returned by Simple DB service

Located in /Exception.php (line 29)

Exception
   |
   --Amazon_SimpleDB_Exception
Method Summary
Amazon_SimpleDB_Exception __construct ([ $errorInfo = array()])
string getBoxUsage ()
string getErrorCode ()
string getErrorMessage ()
string getErrorType ()
string getRequestId ()
int getStatusCode ()
string getXML ()
Variables

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$string
$trace
Methods
Constructor __construct (line 64)

Constructs Amazon_SimpleDB_Exception

  • access: public
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 = ] )
getBoxUsage (line 112)

Measure of machine utilization for this request.

  • return: Measure of machine utilization for this request.
  • access: public
string getBoxUsage ()
getErrorCode (line 93)

Gets error type returned by the service if available.

  • return: Error Code returned by the service
  • access: public
string getErrorCode ()
getErrorMessage (line 121)

Gets error message

  • return: Error message
  • access: public
string getErrorMessage ()
getErrorType (line 103)

Gets error type returned by the service.

  • return: Error Type returned by the service. Possible types: Sender, Receiver or Unknown
  • access: public
string getErrorType ()
getRequestId (line 150)

Gets Request ID returned by the service if available.

  • return: Request ID returned by the service
  • access: public
string getRequestId ()
getStatusCode (line 132)

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

  • return: status code returned by the service
  • access: public
int getStatusCode ()
getXML (line 141)

Gets XML returned by the service if available.

  • return: XML returned by the service
  • access: public
string getXML ()

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )

Documentation generated on Thu, 28 Aug 2008 06:35:48 -0700 by phpDocumentor 1.4.2