public final class ExceptionTransformer<I,O> extends Objectimplements Transformer <I ,O>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static Transformer |
INSTANCE
Singleton predicate instance
|
| Modifier and Type | Method and Description |
|---|---|
static <I |
exceptionTransformer()
Factory returning the singleton instance.
|
O |
transform(I input)
Transforms the input to result by cloning it.
|
public static final TransformerINSTANCE
public static <I,O> Transformer <I ,O> exceptionTransformer()
I - the input type
O - the output type
public O transform(I input)
transform in interface
Transformer<I,O>
input - the input object to transform
FunctorException - always