public final class ExceptionClosure extends java.lang.Object implements Closure, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static Closure |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and 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
- always"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"