The Artima Developer Community
Sponsored Link

Catching Errors in fireXXX() methods

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Catching Errors in fireXXX() methods

Posted by Steve Teske on 13 Oct 1998, 8:57 AM

The only problem that seems to plague the observer idiom in Java is
the throwing of errors in the listeners. What is your recommendation
for the cases where the listeners fail to catch errors and it
ends up blowing up the event generator? Would you typically
catch and ignore or let the listener blow you up.



Replies:
  • Hmm... Bill Venners 18 Oct 1998, 9:35 AM (1)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us