Package org.springframework.batch.repeat

Examples of org.springframework.batch.repeat.RepeatListener.onError()


      for (int i = listeners.length; i-- > 0;) {
        RepeatListener interceptor = listeners[i];
        // This is not an error - only log at debug
        // level.
        logger.debug("Exception intercepted (" + (i + 1) + " of " + listeners.length + ")", unwrappedThrowable);
        interceptor.onError(context, unwrappedThrowable);
      }

      logger.debug("Handling exception: " + throwable.getClass().getName() + ", caused by: "
          + unwrappedThrowable.getClass().getName() + ": " + unwrappedThrowable.getMessage());
      exceptionHandler.handleException(context, unwrappedThrowable);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.