Package io.nflow.engine.exception
Class DispatcherExceptionAnalyzer
- java.lang.Object
-
- io.nflow.engine.exception.DispatcherExceptionAnalyzer
-
@Component public class DispatcherExceptionAnalyzer extends Object
Dispatcher exception analyzer analyzes exceptions thrown by the workflow dispatcher and determines how the exception is handled.
-
-
Constructor Summary
Constructors Constructor Description DispatcherExceptionAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DispatcherExceptionHandlinganalyze(Exception e)Override this to provide custom handling.DispatcherExceptionHandlinganalyzeSafely(Exception e)Analyze the exception.
-
-
-
Method Detail
-
analyzeSafely
public final DispatcherExceptionHandling analyzeSafely(Exception e)
Analyze the exception.- Parameters:
e- The exception to be analyzed.- Returns:
- How the exception should be handled.
-
analyze
protected DispatcherExceptionHandling analyze(Exception e)
Override this to provide custom handling.- Parameters:
e- The exception to be analyzed.- Returns:
- How the exception should be handled.
-
-