Package org.springframework.batch.core.step.skip

Examples of org.springframework.batch.core.step.skip.SkipListenerFailedException


      Throwable e = wrapper.getException();
      try {
        getListener().onSkipInWrite(wrapper.getItem(), e);
      }
      catch (RuntimeException ex) {
        throw new SkipListenerFailedException("Fatal exception in SkipListener.", ex, e);
      }
    }

    // Clear skips if we are possibly going to process this chunk again
    outputs.clearSkips();
View Full Code Here


  private void callProcessSkipListener(I item, Throwable e) {
    try {
      getListener().onSkipInProcess(item, e);
    }
    catch (RuntimeException ex) {
      throw new SkipListenerFailedException("Fatal exception in SkipListener.", ex, e);
    }
  }
View Full Code Here

    }
    catch (SkipLimitExceededException ex) {
      throw ex;
    }
    catch (RuntimeException ex) {
      throw new SkipListenerFailedException("Fatal exception in SkipPolicy.", ex, e);
    }
  }
View Full Code Here

    for (Exception e : chunk.getErrors()) {
      try {
        getListener().onSkipInRead(e);
      }
      catch (RuntimeException ex) {
        throw new SkipListenerFailedException("Fatal exception in SkipListener.", ex, e);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.step.skip.SkipListenerFailedException

Copyright © 2018 www.massapicom. 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.