Package org.jooq.exception
Class ControlFlowSignal
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jooq.exception.ControlFlowSignal
-
- All Implemented Interfaces:
java.io.Serializable
public class ControlFlowSignal extends java.lang.RuntimeException
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 anExecuteListener
.- Author:
- Lukas Eder
- See Also:
ExecuteListener
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControlFlowSignal()
Create a newControlFlowException
.ControlFlowSignal(java.lang.String message)
Create a newControlFlowException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
-