Opened 16 years ago

Closed 16 years ago

#89 closed enhancement (fixed)

collapse all partition exceptions into DeadReferenceError

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

Description (last modified by Brian Warner)

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 (2)

comment:1 Changed 16 years ago by Brian Warner

Description: modified (diff)

comment:2 Changed 16 years ago by Brian Warner

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.