On 01/25/2010 02:29 PM, Alan Conway wrote:
Should we distinguish failure to establish connection from failure of an
established connection? Note that if the client is doing failover the
distinction is somewhat blurred.

I think the second point implies that if there are two separate exceptions to cover these different cases one would want to have a common parent (so for failover you can ignore the distinction).

I would be tempted to just have one exception and use the error message to provide more detail. Is there a use-case anyone can think of where you would actually want to execute different logic in handling these two cases?

In any case I've added both conditions as distinct items to the list of error conditions, along with the others you suggested (still chewing over the transaction related errors). Thanks!


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to