org.apache.commons.collections.functors
Class ExceptionFactory
java.lang.Object
org.apache.commons.collections.functors.ExceptionFactory
- Factory, Serializable
public final class ExceptionFactory
extends java.lang.Object
Factory implementation that always throws an exception.
Version:
- Stephen Colebourne
- Commons Collections 3.0
INSTANCE
public static final Factory INSTANCE
Singleton predicate instance
create
public Object create()
Always throws an exception.
- create in interface Factory
- never
getInstance
public static Factory getInstance()
Factory returning the singleton instance.
- the singleton instance
- Commons Collections 3.1
Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.