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:
  • Field Details

    • rollback

      protected boolean rollback
  • Constructor Details

    • OperationException

      public OperationException(String message)
    • OperationException

      public OperationException(Throwable cause)
    • OperationException

      public OperationException(String message, Throwable cause)
  • Method Details

    • isRollback

      public boolean isRollback()
      Whether this exception should rollback the current transaction. The default is true if not explicitly set by calling setNoRollback().
    • setNoRollback

      public OperationException setNoRollback()