public class ExitException extends OperationException
output
object is returned as the chain output.
Also, you can set the rollback
argument to true to rollback the current transaction.
Modifier and Type | Field and Description |
---|---|
protected Object |
output |
rollback
Constructor and Description |
---|
ExitException() |
ExitException(Object output) |
ExitException(Object output,
boolean rollback) |
Modifier and Type | Method and Description |
---|---|
Object |
getOutput() |
ExitException |
setOutput(Object output) |
isRollback, setNoRollback
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ExitException()
public ExitException(Object output)
public ExitException(Object output, boolean rollback)
public ExitException setOutput(Object output)
Copyright © 2018 Nuxeo. All rights reserved.