The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SimpleDB::Class::Exception - Exceptions thrown by SimpleDB::Class.

VERSION

version 1.0103

DESCRIPTION

A submclass of Exception::Class that defines expcetions to be thrown through-out SimpleDB::Class ojbects.

EXCEPTIONS

The following exceptions are available from this class.

SimpleDB::Class::Exception

A general error. Isa Exception::Class.

SimpleDB::Class::Exception::OverrideMe

Used when creating abstract methods. Isa SimpleDB::Class::Exception.

SimpleDB::Class::Exception::ObjectNotFound

Thrown when a request object is not found.

id

The id of the requested object.

SimpleDB::Class::Exception::InvalidParam

Thrown when a parameter isn't passed when it should have been, or if it's left undefined. Isa SimpleDB::Class::Exception::ObjectNotFound.

SimpleDB::Class::Exception::InvalidObject

Thrown when a request object is found, but is corrupt. Isa SimpleDB::Class::Exception::ObjectNotFound.

SimpleDB::Class::Exception::Connection

Thrown when exceptions occur connecting to the SimpleDB database at Amazon, or the memcached server. Isa SimpleDB::Class::Exception.

status_code

The HTTP status code returned.

SimpleDB::Class::Exception::Response

Isa SimpleDB::Class::Exception::Connection. Thrown when SimpleDB reports an error.

error_code

The error code returned from SimpleDB.

request_id

The request id as returned from SimpleDB.

box_usage

The storage usage in your SimpleDB.

response

The HTTP::Response object as retrieved from the SimpleDB request.

LEGAL

SimpleDB::Class is Copyright 2009-2010 Plain Black Corporation (http://www.plainblack.com/) and is licensed under the same terms as Perl itself.