Hi!
+        //handle JSP-Exceptions - equally long know for swallowing root-causes 
;)
+        if(ex.getClass().getName().equals("javax.servlet.jsp.JspException")) {
+            initCausePerReflection(ex,"getRootCause");
+        }
Why do you check against the class name all over?
I think checking if there is a getRootCause else fallback to getCause would do it, even for inherited classes then.

In shared.util we have a ExceptionUtils class which do it that way - works pretty fine.

Ciao,
Mario

Reply via email to