Class MethodExceptionEventHandler.MethodExceptionExecutor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(EventHandler handler)
      Call the method methodException()
      java.lang.Object getReturnValue()
      Get return value at end of all the iterations
      boolean isDone()
      Only run the first MethodExceptionEventHandler
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • execute

        public void execute​(EventHandler handler)
                     throws java.lang.Exception
        Call the method methodException()
        Specified by:
        execute in interface EventHandlerMethodExecutor
        Parameters:
        handler - call the appropriate method on this handler
        Throws:
        java.lang.Exception - generic exception thrown by methodException event handler method call
      • isDone

        public boolean isDone()
        Only run the first MethodExceptionEventHandler
        Specified by:
        isDone in interface EventHandlerMethodExecutor
        Returns:
        true after this is executed once.