I mean the following. I have controller methods, e.g. get some data from 
database.



MyDataRemote myData = EJBHelper.createMyDataRemote();

myData.getSomeStuff();



I can do the following:



try {

    MyDataRemote myData = EJBHelper.createMyDataRemote();

    myData.getSomeStuff();

} catch (CrazyException ex) {

   gotoErrorPage();

}



but I am not willing to do like this. I want to do the first version in every 
method, and I want to wire in the configuration, that at CrazyException, I want 
to show XYZ page.

Is this possible?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1719#1719
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to