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
webでは汎用性を鑑みExceptionHandlerの使用有無を選択可能としていた(splib内のclassには@Componentはつけていない)が、 batchではそこまでの汎用性は不要と思われるので必ず使用する仕様とする。
  • Constructor Details

    • SplibExceptionHandler

      public SplibExceptionHandler()
  • Method Details

    • handleException

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