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 java.lang.Object
Wrapper for an item and its exception if it failed processing.
- Author:
- Dave Syer
|
Method Summary |
java.lang.Exception |
getException()
Public getter for the exception. |
T |
getItem()
Public getter for the item. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SkipWrapper
public SkipWrapper(T item)
- Parameters:
item -
SkipWrapper
public SkipWrapper(java.lang.Exception e)
- Parameters:
e -
SkipWrapper
public SkipWrapper(T item,
java.lang.Exception e)
getException
public java.lang.Exception getException()
- Public getter for the exception.
- Returns:
- the exception
getItem
public T getItem()
- Public getter for the item.
- Returns:
- the item
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009. All Rights Reserved.