ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou (JIRA)" <j...@apache.org>
Subject [jira] Created: (ODE-59) Runtime exceptions should bubble up
Date Tue, 03 Oct 2006 22:05:21 GMT
Runtime exceptions should bubble up
-----------------------------------

                 Key: ODE-59
                 URL: http://issues.apache.org/jira/browse/ODE-59
             Project: Apache Ode
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: Incubator
            Reporter: Matthieu Riou
             Fix For: Incubator


Curremtly in the ASSIGN there's the following code:

            try {
                copy(aCopy);
            } catch (FaultException fault) {
                faultData = createFault(fault.getQName(), aCopy, fault
                        .getMessage());
                break;
            } catch (Exception ex) {
                __log.fatal("Unexpected exception in assignment, terminating process", ex);
                instance(ASSIGN.this);
                getBpelRuntimeContext().terminate();
                break;
            }

Which practically means that any non-fault exception will result in the process terminating.
However an engine failure (a sneaky NPE hidden in a rarely executed piece of code) shouldn't
affect the process. So such an exception should bubble up to the IL and trigger a transaction
rollback.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message