|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections15.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
|
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 <T> Closure<T> 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 | |||||||||