On 03/05/2010 09:56 PM, William Henry wrote:
Gordon,
I see you already started a thread on this started back at January 21. Great!
Any updates?
I do plan to document the exceptions thrown and you are right that they
will not be those generated from the AMQP 0-10 spec in the framing
namespace.
At present there are a couple of specific exceptions (e.g. KeyError when
looking up a non-existent sender/receiver, or NoMessageAvailable), but
most are still just generic qpid::Exceptions, which will be changed shortly.
I've created a Jira (https://issues.apache.org/jira/browse/QPID-2437)
and hope to have more progress on that this week.
--Gordon.
William
----- "William Henry"<[email protected]> wrote:
I'd assume too that I should not have to include anything other than
Sender.h or Session.h or Receiver.h etc. to be able to see these
exceptions.
e.g. including something from qpid/framing would be a no-no.
(ResourceLimitExceededException).
William
----- "William Henry"<[email protected]> wrote:
Hi,
It's not clear what exceptions can get thrown/caught in the client
side API. Are there plans to document this more clearly? I know
people aren't fond of declarations in the method prototype but it
is
difficult particularly in the client API to figure out what can be
caught.
This is especially important if I want to distinguish if it's
game-over and I need to exit or if I should retry or if I need to
reestablish a connection versus reestablishing a session or just
retrying a send(). There are different granularities.
Regards,
William
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]