Author: mriou
Date: Wed Jun 25 08:39:06 2008
New Revision: 671582
URL: http://svn.apache.org/viewvc?rev=671582&view=rev
Log:
Can't reinitialize cause, have to use getFaultException() instead.
Modified:
ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java
Modified:
ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java?rev=671582&r1=671581&r2=671582&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java
(original)
+++
ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath10/runtime/WrappedFaultException.java
Wed Jun 25 08:39:06 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;
+ }
+ }
}