|
||||||||||
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<T>
public final class ExceptionClosure<T>
Closure implementation that always throws an exception.
Field Summary | |
---|---|
static Closure |
INSTANCE
Singleton predicate instance |
Method Summary | |
---|---|
void |
execute(T 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(T input)
execute
in interface Closure<T>
input
- the input object
FunctorException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |