java.io.Serializable
, Closure
public final class ExceptionClosure extends java.lang.Object implements Closure, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
static Closure |
INSTANCE |
Singleton predicate instance
|
Modifier and Type | Method | Description |
---|---|---|
void |
execute(java.lang.Object input) |
Always throw an exception.
|
static Closure |
getInstance() |
Factory returning the singleton instance.
|
public static final Closure INSTANCE
public static Closure getInstance()
public void execute(java.lang.Object input)
execute
in interface Closure
input
- the input objectFunctorException
- alwaysCopyright © 2001-2017 Apache Software Foundation. All Rights Reserved.