java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jooq.exception.ControlFlowSignal
- All Implemented Interfaces:
Serializable
An exception that is used to influence control flows.
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:
- When generating SQL from
UpdatableRecord.store()
methods, without actually executing the SQL
Typically, a ControlFlowSignal
is thrown from within an
ExecuteListener
.
- Author:
- Lukas Eder
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a newControlFlowSignal
.ControlFlowSignal
(String message) Create a newControlFlowSignal
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ControlFlowSignal
public ControlFlowSignal()Create a newControlFlowSignal
. -
ControlFlowSignal
Create a newControlFlowSignal
.
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-