Author: mriou
Date: Wed Jun 25 08:40:42 2008
New Revision: 671583

URL: http://svn.apache.org/viewvc?rev=671583&view=rev
Log:
Can't reinitialize cause, have to use getFaultException() instead.

Modified:
    
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java

Modified: 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java?rev=671583&r1=671582&r2=671583&view=diff
==============================================================================
--- 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java
 (original)
+++ 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java
 Wed Jun 25 08:40:42 2008
@@ -27,45 +27,43 @@
  *  Wrap a fault in a jaxen exception
  */
 public interface WrappedFaultException {
-       public FaultException getFaultException();
-       
-       /**
-        * Jaxenized  [EMAIL PROTECTED] FaultException}; Jaxen requires us to 
throw only exceptions
-        * extending its [EMAIL PROTECTED] UnresolvableVariableException} so we 
comply.
-        */
-       static class JaxenUnresolvableException extends UnresolvableException 
implements WrappedFaultException{
-    private static final long serialVersionUID = 6266231885976155458L;
-    
-    FaultException _cause;
-         public JaxenUnresolvableException(FaultException e) {
-               super("var");
-           assert e != null;
-           initCause(e);
-           _cause = e;
-         }
-
-         public FaultException getFaultException() {
-           return _cause;
-         }
-       }
-       
-       /**
-        * Jaxenized  [EMAIL PROTECTED] FaultException}; Jaxen requires us to 
throw only exceptions
-        * extending its [EMAIL PROTECTED] FunctionCallException} so we comply.
-        */
-       static class JaxenFunctionException extends FunctionCallException 
implements WrappedFaultException{
-    private static final long serialVersionUID = -1915683768194623625L;
-    FaultException _cause;
-    
-         public JaxenFunctionException(FaultException e) {
-           super(e);
-           assert e != null;
-           initCause(e);
-           _cause = e;
-         }
-
-         public FaultException getFaultException() {
-           return _cause;
-         }
-       }
+    public FaultException getFaultException();
+
+    /**
+     * Jaxenized  [EMAIL PROTECTED] FaultException}; Jaxen requires us to 
throw only exceptions
+     * extending its [EMAIL PROTECTED] UnresolvableVariableException} so we 
comply.
+     */
+    static class JaxenUnresolvableException extends UnresolvableException 
implements WrappedFaultException{
+        private static final long serialVersionUID = 6266231885976155458L;
+
+        FaultException _cause;
+        public JaxenUnresolvableException(FaultException e) {
+            super("var");
+            assert e != null;
+            _cause = e;
+        }
+
+        public FaultException getFaultException() {
+            return _cause;
+        }
+    }
+
+    /**
+     * Jaxenized  [EMAIL PROTECTED] FaultException}; Jaxen requires us to 
throw only exceptions
+     * extending its [EMAIL PROTECTED] FunctionCallException} so we comply.
+     */
+    static class JaxenFunctionException extends FunctionCallException 
implements WrappedFaultException{
+        private static final long serialVersionUID = -1915683768194623625L;
+        FaultException _cause;
+
+        public JaxenFunctionException(FaultException e) {
+            super(e);
+            assert e != null;
+            _cause = e;
+        }
+
+        public FaultException getFaultException() {
+            return _cause;
+        }
+    }
 }


Reply via email to