org.apache.commons.collections.functors
public final class ExceptionClosure extends Object implements Closure, Serializable
Since: Commons Collections 3.0
Version: $Revision: 1.7 $ $Date: 2004/05/16 11:47:38 $
Field Summary | |
---|---|
static Closure | INSTANCE Singleton predicate instance |
Method Summary | |
---|---|
void | execute(Object input)
Always throw an exception.
|
static Closure | getInstance()
Factory returning the singleton instance.
|
Parameters: input the input object
Throws: FunctorException always
Returns: the singleton instance
Since: Commons Collections 3.1