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 ControlFlowException
is thrown from within an
ExecuteListener
.
- Author:
- Lukas Eder
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a newControlFlowException
.ControlFlowSignal
(String message) Create a newControlFlowException
. -
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 newControlFlowException
. -
ControlFlowSignal
Create a newControlFlowException
.
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-