|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections4.functors.ExceptionFactory<T>
public final class ExceptionFactory<T>
Factory implementation that always throws an exception.
| Field Summary | |
|---|---|
static Factory<Object> |
INSTANCE
Singleton predicate instance |
| Method Summary | ||
|---|---|---|
T |
create()
Always throws an exception. |
|
static
|
exceptionFactory()
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 Factory<Object> INSTANCE
| Method Detail |
|---|
public static <T> Factory<T> exceptionFactory()
T - the type the factory creates
public T create()
create in interface Factory<T>FunctorException - always
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||