[seam-commits] Seam SVN: r9959 - trunk/src/main/org/jboss/seam/exception.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Jan 20 14:14:02 EST 2009
Author: norman.richards at jboss.com
Date: 2009-01-20 14:14:02 -0500 (Tue, 20 Jan 2009)
New Revision: 9959
Modified:
trunk/src/main/org/jboss/seam/exception/Exceptions.java
Log:
JBSEAM-3845
Modified: trunk/src/main/org/jboss/seam/exception/Exceptions.java
===================================================================
--- trunk/src/main/org/jboss/seam/exception/Exceptions.java 2009-01-20 17:46:51 UTC (rev 9958)
+++ trunk/src/main/org/jboss/seam/exception/Exceptions.java 2009-01-20 19:14:02 UTC (rev 9959)
@@ -198,8 +198,11 @@
try {
handler = createHandler(exception,
Reflections.classForName(className));
- handler.setLogEnabled(logEnabled);
- handler.setLogLevel(logLevel);
+
+ if (handler != null) {
+ handler.setLogEnabled(logEnabled);
+ handler.setLogLevel(logLevel);
+ }
} catch (ClassNotFoundException e) {
log.error("Can't find exception class for exception handler", e);
}
More information about the seam-commits
mailing list