NAME

Net::OpenXchange::X::Thaw - Exception class for Object thawing errors

VERSION

version 0.001

SYNOPSIS

Net::OpenXchange::X::Thaw->throw(
    class => $class,
    data => \%data,
    error => $_,
);

Net::OpenXchange::X::Thaw is an exception class which is thrown when an object could not be created from a list of values fetched from OpenXchange.

ATTRIBUTES

class

Name of the class of which an instance should have been created (e.g. Net::OpenXchange::Object::User)

data

Hash reference of data that was passed to the class's constructor

error

Error that prevented the creation of the class's instance

message

Will be constructed automatically and describe the exception using the above attributes

SEE ALSO

http://oxpedia.org/wiki/index.php?title=HTTP_API#Error_handling

AUTHOR

Maximilian Gass <maximilian.gass@credativ.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Maximilian Gass.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.