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