public final class ExceptionTransformer extends Object implements Transformer, Serializable
Modifier and Type | Field and Description |
---|---|
static Transformer |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and Description |
---|---|
static Transformer |
getInstance()
Factory returning the singleton instance.
|
Object |
transform(Object input)
Transforms the input to result by cloning it.
|
public static final Transformer INSTANCE
public static Transformer getInstance()
public Object transform(Object input)
transform
in interface Transformer
input
- the input object to transformFunctorException
- alwaysCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.