[jboss-cvs] jboss-seam/src/main/org/jboss/seam/exception ...
Norman Richards
norman.richards at jboss.com
Wed Nov 7 15:28:44 EST 2007
User: nrichards
Date: 07/11/07 15:28:44
Modified: src/main/org/jboss/seam/exception Exceptions.java
Log:
JBSEAM-2217
Revision Changes Path
1.4 +7 -1 jboss-seam/src/main/org/jboss/seam/exception/Exceptions.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Exceptions.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/exception/Exceptions.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Exceptions.java 3 Sep 2007 16:10:53 -0000 1.3
+++ Exceptions.java 7 Nov 2007 20:28:44 -0000 1.4
@@ -133,7 +133,13 @@
}
else
{
- ExceptionHandler handler = createHandler( exception, Reflections.classForName(className) );
+ ExceptionHandler handler = null;
+
+ try {
+ handler = createHandler(exception, Reflections.classForName(className));
+ } catch (ClassNotFoundException e) {
+ log.error("Can't find exception class for exception handler", e);
+ }
if (handler!=null) exceptionHandlers.add(handler);
}
}
More information about the jboss-cvs-commits
mailing list