Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

exception handling and reflection

843810Nov 27 2003 — edited Mar 18 2004
hi,

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????
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2004
Added on Nov 27 2003
10 comments
355 views