org.apache.commons.collections.functors
Class ExceptionClosure
- Closure, Serializable
public final class ExceptionClosure
Closure implementation that always throws an exception.
$Revision: 348444 $ $Date: 2005-11-23 14:06:56 +0000 (Wed, 23 Nov 2005) $
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-2009 Apache Software Foundation. All Rights Reserved.