org.springframework.batch.core.step.item
Class SkipWrapper<T>
java.lang.Object
org.springframework.batch.core.step.item.SkipWrapper<T>
public class SkipWrapper<T>
- extends Object
Wrapper for an item and its exception if it failed processing.
- Author:
- Dave Syer
SkipWrapper
public SkipWrapper(T item)
- Parameters:
item
-
SkipWrapper
public SkipWrapper(Throwable e)
- Parameters:
e
-
SkipWrapper
public SkipWrapper(T item,
Throwable e)
getException
public Throwable getException()
- Public getter for the exception.
- Returns:
- the exception
getItem
public T getItem()
- Public getter for the item.
- Returns:
- the item
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 SpringSource. All Rights Reserved.