public class RollbackException extends RuntimeException
| Constructor and Description |
|---|
RollbackException(com.sun.tools.javac.tree.JCTree target,
Consumer<com.sun.tools.javac.tree.JCTree> onRollbacked)
Rollback up to the target.
|
| Modifier and Type | Method and Description |
|---|---|
Consumer<com.sun.tools.javac.tree.JCTree> |
getOnRollbacked()
Gets the rollback handler.
|
com.sun.tools.javac.tree.JCTree |
getTarget()
Gets the target of the rollback.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RollbackException(com.sun.tools.javac.tree.JCTree target,
Consumer<com.sun.tools.javac.tree.JCTree> onRollbacked)
target - the targetonRollbacked - the handler to be executed once rollbacked.public com.sun.tools.javac.tree.JCTree getTarget()
public Consumer<com.sun.tools.javac.tree.JCTree> getOnRollbacked()