Opened 16 years ago

Last modified 16 years ago

#89 closed enhancement

collapse all partition exceptions into DeadReferenceError — at Initial Version

Reported by: Brian Warner Owned by:
Priority: minor Milestone: 0.3.1
Component: usability Version: 0.3.0
Keywords: Cc:

Description

At the moment, applications which want to send a message and ignore partitions must catch three separate exceptions:

  • DeadReferenceError? (which occurs when the connection is lost before they send the message)
  • ConnectionLost? (which occurs when the other end drops the connection while the message is outstanding)
  • ConnectionDone? (which occurs when we drop the connection while the message is outstanding, probably due to a duplicate connection, probably because the other side is the pairwise master and initiated a connection to us)

The connection exceptions should be caught internally and converted into a DeadReferenceError?, so that applications only have to catch a single type.

Change History (0)

Note: See TracTickets for help on using tickets.