org.apache.commons.collections.functors
Class ExceptionClosure
java.lang.Objectorg.apache.commons.collections.functors.ExceptionClosure
- Closure, Serializable
public final class ExceptionClosure
extends java.lang.Object
Closure implementation that always throws an exception.
$Revision: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $
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-2008 Apache Software Foundation. All Rights Reserved.