Class FlowBuilderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.juliengalet.reactorflow.exception.FlowException
-
- io.github.juliengalet.reactorflow.exception.FlowBuilderException
-
- All Implemented Interfaces:
PrettyPrint,Serializable
public final class FlowBuilderException extends FlowException
Exception used to represent a builder exception (example: a null value is used in a non nullable step of abuilder). Those exceptions should not be used during inStepFlowexecutions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowBuilderException(Class<T> builder, String message)FlowBuilderException(Throwable cause, Class<T> builder, String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowExceptionTypegetType()Abstract method that should be implemented, in order to know theFlowExceptionType.static <T> StringmapMessage(Class<T> builder, String message)-
Methods inherited from class io.github.juliengalet.reactorflow.exception.FlowException
flowConcerned, getFlowConcerned, isRecoverable, toPrettyString, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getType
public FlowExceptionType getType()
Description copied from class:FlowExceptionAbstract method that should be implemented, in order to know theFlowExceptionType.- Specified by:
getTypein classFlowException- Returns:
- A
FlowExceptionType
-
-