Class ExceptionPredicate<T>
java.lang.Object
org.apache.commons.collections4.functors.AbstractPredicate<T>
org.apache.commons.collections4.functors.ExceptionPredicate<T>
- Type Parameters:
T- the type of the input to the predicate.
- All Implemented Interfaces:
Serializable,Predicate<T>,Predicate<T>
Predicate implementation that always throws an exception.
- Since:
- 3.0
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicate<T> Factory returning the singleton instance.booleanEvaluates the predicate always throwing an exception.Methods inherited from class org.apache.commons.collections4.functors.AbstractPredicate
evaluate
-
Field Details
-
INSTANCE
-
-
Method Details
-
exceptionPredicate
Factory returning the singleton instance.- Type Parameters:
T- the object type- Returns:
- the singleton instance
- Since:
- 3.1
-
test
-