|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.collections.functors.ExceptionClosure
public final class ExceptionClosure
Closure implementation that always throws an exception.
Field Summary | |
---|---|
static Closure |
INSTANCE
Singleton predicate instance |
Method Summary | |
---|---|
void |
execute(java.lang.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(java.lang.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 |