Observers And Exceptions

last modified: April 13, 2010

[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


Loading...