exception handling and reflection
843810Nov 27 2003 — edited Mar 18 2004hi,
Iam writing some exception hadling for an application. The application is designed as follows.
Some a servlet recieved request, through reflection the correct sessionbean and function in that sessionbean are called. Then in the sessionbean a couple of beans are executed.
When an exception occurs I can transport my errors upto the sessionbean layer.
When i want to detect what kinda exception is raised in the servlet I can only catch "Exception" because of the reflection I use.
How can I catch the TRUE exceptions that are raised in the sessionbeans which are called through reflection????