Class SplibExceptionHandler

java.lang.Object
jp.ecuacion.splib.batch.exceptionhandler.SplibExceptionHandler
All Implemented Interfaces:
org.springframework.batch.repeat.exception.ExceptionHandler

@Component public class SplibExceptionHandler extends Object implements org.springframework.batch.repeat.exception.ExceptionHandler
Provides ExceptionHandler.

In batch apps, this class is always used while in web apps the use of SplibExceptionHandler is arbitrary.
It seems that in batch apps that versatility is not needed.

  • Constructor Details

    • SplibExceptionHandler

      public SplibExceptionHandler()
  • Method Details

    • handleException

      public void handleException(org.springframework.batch.repeat.RepeatContext context, @RequireNonnull Throwable throwable) throws Throwable
      Specified by:
      handleException in interface org.springframework.batch.repeat.exception.ExceptionHandler
      Throws:
      Throwable