craigmcc 2002/08/08 15:54:18 Modified: src/share/org/apache/struts/action ExceptionHandler.java Log: Store the actual exception in the same request attribute that is used by tags that throw exceptions: Action.EXCEPTION_KEY. This makes the exception object itself available to error handling code. PR: Bugzilla #11510 Submitted by: Kevin Henrikson <kevin at henrikson.com> Revision Changes Path 1.6 +1 -0 jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java Index: ExceptionHandler.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ExceptionHandler.java 24 Jun 2002 17:11:05 -0000 1.5 +++ ExceptionHandler.java 8 Aug 2002 22:54:18 -0000 1.6 @@ -122,6 +122,7 @@ } // Store the exception + request.setAttribute(Action.EXCEPTION_KEY, ex); storeException(request, property, error, forward, ae.getScope()); return forward;
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>