🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18343

Exception handling in events

#18343
From: Tad Frysinger
Date: Sat, 11 Jul 1998 00:00
12 lines
960 bytes
I'm looking for strategies people have employed to pass exceptions either 
caught or raised in handlers for those events "up the chain".

The problem is that there doesn't appear to me to be a clean way to pass 
exceptions up a nicely laid exception hierarchy.

For example, the ActionListener interface is not declared to throw an 
Exception.  So assuming some button handler implementing this interface 
performs some action that raises an exception that should logically get 
handled at a higher level, how do you get the Exception there?

Tad
Technical Details
Message-ID: <MPG.10114789f2aeb1e98989e@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,cd72dc5d8dce48dd,start
X-Google-Attributes: gidf74b3,public
From: tfrysinger@earthlink.net (Tad Frysinger)
Subject: Exception handling in events
Date: 1998/07/11
Message-ID: <MPG.10114789f2aeb1e98989e@forums.borland.com>
X-Deja-AN: 370518948
Organization: FreeZone Enterprises
Newsgroups: borland.public.jbuilder.java.language