germuska 2004/05/18 13:00:10
Modified: src/share/org/apache/struts/action ExceptionHandler.java
Log:
Fix recursion bug by casting ActionError to ActionMessage.
PR: 29071
Reported by: Hal Deadman
Revision Changes Path
1.26 +4 -4
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.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ExceptionHandler.java 14 Mar 2004 06:23:42 -0000 1.25
+++ ExceptionHandler.java 18 May 2004 20:00:10 -0000 1.26
@@ -147,7 +147,7 @@
ActionForward forward,
String scope) {
- this.storeException(request, property, error, forward, scope);
+ this.storeException(request, property, (ActionMessage) error, forward,
scope);
// :TODO: Remove after Struts 1.2
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]