モジュール jp.ecuacion.splib.batch

クラス SplibExceptionHandler

java.lang.Object
jp.ecuacion.splib.batch.exceptionhandler.SplibExceptionHandler
すべての実装されたインタフェース:
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ではそこまでの汎用性は不要と思われるので必ず使用する仕様とする。
  • コンストラクタの詳細

    • SplibExceptionHandler

      public SplibExceptionHandler()
  • メソッドの詳細

    • handleException

      public void handleException(org.springframework.batch.repeat.RepeatContext context, Throwable throwable) throws Throwable
      定義:
      handleException インタフェース内 org.springframework.batch.repeat.exception.ExceptionHandler
      例外:
      Throwable