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:
- 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
OperationException
public OperationException(String message)
OperationException
public OperationException(Throwable cause)
OperationException
public OperationException(String message,
Throwable cause)
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()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.