org.apache.commons.collections.functors
Class ExceptionClosure
java.lang.Object
org.apache.commons.collections.functors.ExceptionClosure
- Closure, Serializable
public final class ExceptionClosure
extends java.lang.Object
Closure implementation that always throws an exception.
$Revision: 1.7 $ $Date: 2004/05/16 11:47:38 $
INSTANCE
public static final Closure INSTANCE
Singleton predicate instance
execute
public void execute(Object input)
Always throw an exception.
- execute in interface Closure
getInstance
public static Closure getInstance()
Factory returning the singleton instance.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.