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
public class OperationException extends Exception
The base exception of the operation service.- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanrollback
-
Constructor Summary
Constructors Constructor Description OperationException(String message)OperationException(String message, Throwable cause)OperationException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRollback()Whether this exception should rollback the current transaction.OperationExceptionsetNoRollback()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
isRollback
public boolean isRollback()
Whether this exception should rollback the current transaction. The default is true if not explicitly set by callingsetNoRollback().
-
setNoRollback
public OperationException setNoRollback()
-
-