|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections.functors.ExceptionClosure
Closure implementation that always throws an exception.
Field Summary | |
static Closure |
INSTANCE
Singleton predicate instance |
Method Summary | |
void |
execute(Object input)
Always throw an exception. |
static Closure |
getInstance()
Factory returning the singleton instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Closure INSTANCE
Method Detail |
public static Closure getInstance()
public void execute(Object input)
execute
in interface Closure
input
- the input object
FunctorException
- always
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |