java.io.Serializable, Closurepublic 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 Closureinput - the input objectFunctorException - alwaysCopyright © 2001-2018 Apache Software Foundation. All Rights Reserved.