congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MulticasterBatchListener.getTargetException
Code IndexAdd Tabnine to your IDE (free)

How to use
getTargetException
method
in
org.springframework.batch.core.listener.MulticasterBatchListener

Best Java code snippets using org.springframework.batch.core.listener.MulticasterBatchListener.getTargetException (Showing top 20 results out of 315)

origin: spring-projects/spring-batch

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

/**
 * @see org.springframework.batch.core.listener.CompositeChunkListener#beforeChunk(ChunkContext context)
 */
@Override
public void beforeChunk(ChunkContext context) {
  try {
    chunkListener.beforeChunk(context);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeChunk.", getTargetException(e));
  }
}
origin: spring-projects/spring-batch

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

/**
 * @see org.springframework.batch.core.listener.CompositeChunkListener#afterChunk(ChunkContext context)
 */
@Override
public void afterChunk(ChunkContext context) {
  try {
    chunkListener.afterChunk(context);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in afterChunk.", getTargetException(e));
  }
}
origin: spring-projects/spring-batch

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

/**
 * @see org.springframework.batch.core.listener.CompositeItemReadListener#beforeRead()
 */
@Override
public void beforeRead() {
  try {
    itemReadListener.beforeRead();
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeRead.", getTargetException(e));
  }
}
origin: spring-projects/spring-batch

/**
 * @see ItemWriteListener#afterWrite(List)
 */
@Override
public void afterWrite(List<? extends S> items) {
  try {
    itemWriteListener.afterWrite(items);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in afterWrite.", getTargetException(e));
  }
}
origin: spring-projects/spring-batch

/**
 * @see ItemWriteListener#beforeWrite(List)
 */
@Override
public void beforeWrite(List<? extends S> items) {
  try {
    itemWriteListener.beforeWrite(items);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeWrite.", getTargetException(e));
  }
}
origin: apache/servicemix-bundles

/**
 * @see org.springframework.batch.core.listener.CompositeItemReadListener#beforeRead()
 */
@Override
public void beforeRead() {
  try {
    itemReadListener.beforeRead();
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeRead.", getTargetException(e));
  }
}
origin: org.springframework.batch/spring-batch-core

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

/**
 * @see ItemWriteListener#afterWrite(List)
 */
@Override
public void afterWrite(List<? extends S> items) {
  try {
    itemWriteListener.afterWrite(items);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in afterWrite.", getTargetException(e));
  }
}
origin: apache/servicemix-bundles

/**
 * @see ItemWriteListener#beforeWrite(List)
 */
@Override
public void beforeWrite(List<? extends S> items) {
  try {
    itemWriteListener.beforeWrite(items);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeWrite.", getTargetException(e));
  }
}
origin: apache/servicemix-bundles

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

/**
 * @see org.springframework.batch.core.listener.CompositeChunkListener#afterChunk(ChunkContext context)
 */
@Override
public void afterChunk(ChunkContext context) {
  try {
    chunkListener.afterChunk(context);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in afterChunk.", getTargetException(e));
  }
}
origin: org.springframework.batch/spring-batch-core

/**
 * @see org.springframework.batch.core.listener.CompositeChunkListener#beforeChunk(ChunkContext context)
 */
@Override
public void beforeChunk(ChunkContext context) {
  try {
    chunkListener.beforeChunk(context);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeChunk.", getTargetException(e));
  }
}
origin: org.springframework.batch/spring-batch-core

/**
 * @see org.springframework.batch.core.listener.CompositeItemReadListener#afterRead(java.lang.Object)
 */
@Override
public void afterRead(T item) {
  try {
    itemReadListener.afterRead(item);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in afterRead.", getTargetException(e));
  }
}
origin: org.springframework.batch/spring-batch-core

/**
 * @see org.springframework.batch.core.listener.CompositeItemReadListener#beforeRead()
 */
@Override
public void beforeRead() {
  try {
    itemReadListener.beforeRead();
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeRead.", getTargetException(e));
  }
}
origin: org.springframework.batch/spring-batch-core

/**
 * @see ItemWriteListener#beforeWrite(List)
 */
@Override
public void beforeWrite(List<? extends S> items) {
  try {
    itemWriteListener.beforeWrite(items);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeWrite.", getTargetException(e));
  }
}
origin: apache/servicemix-bundles

/**
 * @see org.springframework.batch.core.listener.CompositeChunkListener#beforeChunk(ChunkContext context)
 */
@Override
public void beforeChunk(ChunkContext context) {
  try {
    chunkListener.beforeChunk(context);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in beforeChunk.", getTargetException(e));
  }
}
origin: apache/servicemix-bundles

/**
 * @see ItemWriteListener#afterWrite(List)
 */
@Override
public void afterWrite(List<? extends S> items) {
  try {
    itemWriteListener.afterWrite(items);
  }
  catch (RuntimeException e) {
    throw new StepListenerFailedException("Error in afterWrite.", getTargetException(e));
  }
}
org.springframework.batch.core.listenerMulticasterBatchListenergetTargetException

Javadoc

Unwrap the target exception from a wrapped InvocationTargetException.

Popular methods of MulticasterBatchListener

  • afterProcess
  • afterRead
  • afterWrite
  • beforeProcess
  • beforeRead
  • beforeWrite
  • onReadError
  • onSkipInProcess
  • onSkipInRead
  • onSkipInWrite
  • onWriteError
  • register
    Register the listener for callbacks on the appropriate interfaces implemented. Any StepListener can
  • onWriteError,
  • register,
  • onProcessError,
  • onRetryProcessException,
  • onRetryReadException,
  • onRetryWriteException,
  • afterChunk,
  • afterStep,
  • beforeChunk

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Notification (javax.management)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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