public class OperationException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
rollback |
| Constructor and Description |
|---|
OperationException(String message) |
OperationException(String message,
Throwable cause) |
OperationException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRollback()
Whether this exception should rollback the current transaction.
|
OperationException |
setNoRollback() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected boolean rollback
public OperationException(String message)
public OperationException(Throwable cause)
public OperationException(String message, Throwable cause)
public boolean isRollback()
setNoRollback().public OperationException setNoRollback()
Copyright © 2016 Nuxeo SA. All rights reserved.