- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jooq.exception.ControlFlowSignal
-
- All Implemented Interfaces:
Serializable
public class ControlFlowSignal extends 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(String message)
Create a newControlFlowException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
fillInStackTrace()
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ControlFlowSignal
public ControlFlowSignal()
Create a newControlFlowException
.
-
ControlFlowSignal
public ControlFlowSignal(String message)
Create a newControlFlowException
.
-
-
Method Detail
-
fillInStackTrace
public Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classThrowable
-
-