[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Central exception handling for popups?  XML
Forum Index -> Development
Author Message
kabat

Power User

Joined: 10/12/2007 10:12:44
Messages: 78
Offline

Hi,

we have implemented a central exception handling where all exceptions occuring in our application are catched by the dispatcher, especially the runtime exceptions.

Now we have noticed that runtime exceptions occur in wizards, too. But these exceptions don't pass the dispatcher because the wizards are called by your wizard module and the application crashes.

Is there a possibility to handle this problem?

Regards, Agnes
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

Hi,

no, this is not possible: the error management walks back the expression - in case of the default popups (OK, YesNo, Wizards) you are not "master of the expression" - exactly what you describe. You need to try...catch what is called and then, in case of error, invoke your error management from the catch-part.

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team