public class SkipWrapper<T>
extends java.lang.Object
Constructor and Description |
---|
SkipWrapper(T item) |
SkipWrapper(java.lang.Throwable e) |
SkipWrapper(T item,
java.lang.Throwable e) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getException()
Public getter for the exception.
|
T |
getItem()
Public getter for the item.
|
java.lang.String |
toString() |
public SkipWrapper(T item)
item
- the item being wrapped.public SkipWrapper(java.lang.Throwable e)
e
- instance of Throwable
that being wrapped.public SkipWrapper(T item, @Nullable java.lang.Throwable e)
@Nullable public java.lang.Throwable getException()
public T getItem()
public java.lang.String toString()
toString
in class java.lang.Object