|
Problem |
You wrote a servlet with a try/catch block
set up to catch an UnauthorizedSessionRequestException. You purposely
caused an UnauthorizedSessionRequestException to occur when you ran the
application, and found that the exception handling portion of this code
never ran. |
|
Cause |
This error is not designed to be caught in your code. |
|
Solution |
The UnauthorizedSessionRequestException
is designed not to be caught in user code. It causes the servlet or JSPā¢
that is executing to immediately cease execution, print a stack trace, and
not propagate back to the user written code. This is done to prevent
exposure of user ID details to an unauthorized request for a session. The
solution for this issue is to remove application code which may be
attempting to catch and handle this exception, or recognize that the code
you have written to handle this exception will never execute. |
|
|
|
|
|
|