Observers And Exceptions

[refactoring of ObserversThrowLocalExceptions]

In the recent discussions about exceptions, problems with the ObserverPattern have come to light.

An Observable is responsible for notifying its observers whenever relevant state changes occur. Since exceptions are, in essence, violations of the standard control flow, they present problems in for such radically uncoupled objects.

There are two major consequences:

WilliamGrosso


How about ExceptionReporter technique?


CategoryException CategoryPattern


EditText of this page (last edited April 13, 2010) or FindPage with title or text search