public class ControlFlowSignal extends RuntimeException
There are some specific cases, where control flows can be aborted or otherwise influenced using well-defined exceptions. Some examples where this can be very useful:
UpdatableRecord.store()
methods, without
actually executing the SQL
Typically, a ControlFlowException
is thrown from within an
ExecuteListener
.
ExecuteListener
,
Serialized FormConstructor and Description |
---|
ControlFlowSignal()
Create a new
ControlFlowException . |
ControlFlowSignal(String message)
Create a new
ControlFlowException . |
Modifier and Type | Method and Description |
---|---|
Throwable |
fillInStackTrace() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ControlFlowSignal()
ControlFlowException
.public ControlFlowSignal(String message)
ControlFlowException
.public Throwable fillInStackTrace()
fillInStackTrace
in class Throwable
Copyright © 2016. All Rights Reserved.