| java.lang.Object org.apache.commons.collections.functors.ExceptionPredicate
ExceptionPredicate | final public class ExceptionPredicate implements Predicate,Serializable(Code) | | Predicate implementation that always throws an exception.
since: Commons Collections 3.0 version: $Revision: 348444 $ $Date: 2005-11-23 14:06:56 +0000 (Wed, 23 Nov 2005) $ author: Stephen Colebourne |
Method Summary | |
public boolean | evaluate(Object object) Evaluates the predicate always throwing an exception. | public static Predicate | getInstance() Factory returning the singleton instance. |
INSTANCE | final public static Predicate INSTANCE(Code) | | Singleton predicate instance
|
evaluate | public boolean evaluate(Object object)(Code) | | Evaluates the predicate always throwing an exception.
Parameters: object - the input object never throws: FunctorException - always |
getInstance | public static Predicate getInstance()(Code) | | Factory returning the singleton instance.
the singleton instance since: Commons Collections 3.1 |
|
|