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 Details

    • DispatcherExceptionAnalyzer

      public DispatcherExceptionAnalyzer()
  • Method Details

    • 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.