java.io.Serializable, Transformer<I,O>public final class ExceptionTransformer<I,O> extends java.lang.Object implements Transformer<I,O>, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
static Transformer |
INSTANCE |
Singleton predicate instance
|
| Modifier and Type | Method | Description |
|---|---|---|
static <I,O> Transformer<I,O> |
exceptionTransformer() |
Factory returning the singleton instance.
|
O |
transform(I input) |
Transforms the input to result by cloning it.
|
public static final Transformer INSTANCE
public static <I,O> Transformer<I,O> exceptionTransformer()
I - the input typeO - the output typepublic O transform(I input)
transform in interface Transformer<I,O>input - the input object to transformFunctorException - alwaysCopyright © 2001-2019 - Apache Software Foundation