Class FlowTechnicalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.juliengalet.reactorflow.exception.FlowException
-
- io.github.juliengalet.reactorflow.exception.FlowTechnicalException
-
- All Implemented Interfaces:
PrettyPrint,Serializable
public class FlowTechnicalException extends FlowException
Exception used to represent a technical exception (example: a random failure during a database access, due to the network). Those exceptions are typically the ones you will want to retry inRetryableFlows. You can inherit this class to build custom technical exceptions if you want.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowTechnicalException(String message)FlowTechnicalException(Throwable cause, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowExceptionTypegetType()Abstract method that should be implemented, in order to know theFlowExceptionType.-
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 final FlowExceptionType getType()
Description copied from class:FlowExceptionAbstract method that should be implemented, in order to know theFlowExceptionType.- Specified by:
getTypein classFlowException- Returns:
- A
FlowExceptionType
-
-