congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CompositeItemProcessListener.onProcessError
Code IndexAdd Tabnine to your IDE (free)

How to use
onProcessError
method
in
org.springframework.batch.core.listener.CompositeItemProcessListener

Best Java code snippets using org.springframework.batch.core.listener.CompositeItemProcessListener.onProcessError (Showing top 6 results out of 315)

origin: spring-projects/spring-batch

/**
 * @see org.springframework.batch.core.listener.CompositeItemProcessListener#onProcessError(java.lang.Object,
 * java.lang.Exception)
 */
@Override
public void onProcessError(T item, Exception ex) {
  try {
    itemProcessListener.onProcessError(item, ex);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in onProcessError.", e);
  }
}
origin: spring-projects/spring-batch

@Test
public void testOnReadError() {
  Object item = new Object();
  Exception ex = new Exception();
  listener.onProcessError(item, ex);
  compositeListener.onProcessError(item, ex);
}
origin: org.springframework.batch/org.springframework.batch.core

/**
 * @param item
 * @param ex
 * @see org.springframework.batch.core.listener.CompositeItemProcessListener#onProcessError(java.lang.Object,
 * java.lang.Exception)
 */
public void onProcessError(T item, Exception ex) {
  try {
    itemProcessListener.onProcessError(item, ex);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in onProcessError.", e);
  }
}
origin: org.springframework.batch/spring-batch-core

/**
 * @see org.springframework.batch.core.listener.CompositeItemProcessListener#onProcessError(java.lang.Object,
 * java.lang.Exception)
 */
@Override
public void onProcessError(T item, Exception ex) {
  try {
    itemProcessListener.onProcessError(item, ex);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in onProcessError.", e);
  }
}
origin: apache/servicemix-bundles

/**
 * @see org.springframework.batch.core.listener.CompositeItemProcessListener#onProcessError(java.lang.Object,
 * java.lang.Exception)
 */
@Override
public void onProcessError(T item, Exception ex) {
  try {
    itemProcessListener.onProcessError(item, ex);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in onProcessError.", e);
  }
}
origin: org.springframework.batch.core/org.motechproject.org.springframework.batch.core

/**
 * @param item
 * @param ex
 * @see org.springframework.batch.core.listener.CompositeItemProcessListener#onProcessError(java.lang.Object,
 * java.lang.Exception)
 */
@Override
public void onProcessError(T item, Exception ex) {
  try {
    itemProcessListener.onProcessError(item, ex);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in onProcessError.", e);
  }
}
org.springframework.batch.core.listenerCompositeItemProcessListeneronProcessError

Javadoc

Call the registered listeners in reverse order, respecting and prioritising those that implement Ordered.

Popular methods of CompositeItemProcessListener

  • afterProcess
    Call the registered listeners in reverse order, respecting and prioritising those that implement Ord
  • beforeProcess
    Call the registered listeners in order, respecting and prioritising those that implement Ordered.
  • register
    Register additional listener.
  • <init>
  • setListeners
    Public setter for the listeners.

Popular in Java

  • Reading from database using SQL prepared statement
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Option (scala)
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now