Package org.nuxeo.ecm.automation
Class OperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.nuxeo.ecm.automation.OperationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExitException,InvalidChainException,InvalidOperationException,OperationCompoundException,OperationNotFoundException,RestOperationException,ScriptingException,TypeAdaptException
The base exception of the operation service.
- Author:
- Bogdan Stefanescu
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOperationException(String message) OperationException(String message, Throwable cause) OperationException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this exception should rollback the current transaction.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
rollback
protected boolean rollback
-
-
Constructor Details
-
OperationException
-
OperationException
-
OperationException
-
-
Method Details
-
isRollback
public boolean isRollback()Whether this exception should rollback the current transaction. The default is true if not explicitly set by callingsetNoRollback(). -
setNoRollback
-