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

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Join (org.hibernate.mapping)
  • 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