Package org.nuxeo.ecm.automation
Class ExitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.nuxeo.ecm.automation.OperationException
org.nuxeo.ecm.automation.ExitException
- All Implemented Interfaces:
Serializable
Throw it from an operation to interrupt a chain execution. The chain terminates silently (without throwing an
exception) and the
output
object is returned as the chain output.
Also, you can set the rollback
argument to true to rollback the current transaction.
- Author:
- Bogdan Stefanescu
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.ecm.automation.OperationException
rollback
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.ecm.automation.OperationException
isRollback, setNoRollback
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
output
-
-
Constructor Details
-
ExitException
public ExitException() -
ExitException
-
ExitException
-
-
Method Details
-
setOutput
-
getOutput
-