NAME

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

VERSION

version 1.0503

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::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.

LEGAL

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