Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation
Class OperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.nuxeo.ecm.automation.OperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdapterNotFoundException, ConflictOperationException, ExitException, InvalidChainException, OperationNotFoundException, TypeAdaptException

public class OperationException
extends Exception

The base exception of the operation service.

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
OperationException(String message)
           
OperationException(String message, Throwable cause)
           
OperationException(Throwable cause)
           
 
Method Summary
 boolean isRollback()
          Whether this exception should rollback the current transaction.
 OperationException setNoRollback()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationException

public OperationException(String message)

OperationException

public OperationException(Throwable cause)

OperationException

public OperationException(String message,
                          Throwable cause)
Method Detail

isRollback

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

Returns:

setNoRollback

public OperationException setNoRollback()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.