[seam-commits] Seam SVN: r8911 - trunk/src/debug/org/jboss/seam/debug.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Sep 4 11:57:45 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-09-04 11:57:45 -0400 (Thu, 04 Sep 2008)
New Revision: 8911

Modified:
   trunk/src/debug/org/jboss/seam/debug/Contexts.java
Log:
And commit the changes needed for moving rootCause :(

Modified: trunk/src/debug/org/jboss/seam/debug/Contexts.java
===================================================================
--- trunk/src/debug/org/jboss/seam/debug/Contexts.java	2008-09-04 15:45:22 UTC (rev 8910)
+++ trunk/src/debug/org/jboss/seam/debug/Contexts.java	2008-09-04 15:57:45 UTC (rev 8911)
@@ -12,7 +12,7 @@
 import org.jboss.seam.annotations.Scope;
 import org.jboss.seam.core.ConversationEntries;
 import org.jboss.seam.core.ConversationEntry;
-import org.jboss.seam.util.EJB;
+import org.jboss.seam.util.Exceptions;
 
 @Name("org.jboss.seam.debug.contexts")
 @Scope(ScopeType.APPLICATION)
@@ -67,7 +67,7 @@
    public List<Exception> getExceptionCauses()
    {
       List<Exception> causes = new ArrayList<Exception>();
-      for (Exception cause=getException(); cause!=null; cause=EJB.getCause(cause))
+      for (Exception cause=getException(); cause!=null; cause=Exceptions.getCause(cause))
       {
          causes.add(cause);
       }




More information about the seam-commits mailing list