NAME

Net::Stomp::Producer::Exceptions - exception classes for Net::Stomp::Producer

VERSION

version 2.005

DESCRIPTION

This file defines the following exception classes, all based on Throwable:

Net::Stomp::Producer::Exceptions::BadMessage

Attributes: message_headers, message_body, reason, stack_trace.

Net::Stomp::Producer::Exceptions::CantSerialize

Subclass of "Net::Stomp::Producer::Exceptions::BadMessage"; attributes: reason.

Throw when the serialization fails.

Net::Stomp::Producer::Exceptions::BadTransformer

Attributes: transformer, stack_trace.

Thrown when the transformer does not have a transform method.

Net::Stomp::Producer::Exceptions::BadMethod

Attributes: sending_method_value, method_to_call, stack_trace.

Thrown when "sending_method" in Net::Stomp::Producer is set to a value that would require us to call a non-existent method on the connection.

Net::Stomp::Producer::Exceptions::Invalid

Subclass of "Net::Stomp::Producer::Exceptions::BadMessage"; attributes: transformer, reason.

Thrown when validation fails.

Net::Stomp::Producer::Exceptions::Transactional

Attributes: stack_trace.

Thrown when you call txn_commit or txn_rollback without a corresponding txn_begin. See Net::Stomp::Producer::Transactional for details.

AUTHOR

Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Net-a-porter.com.

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