org.apache.commons.collections.functors
Class ExceptionFactory
java.lang.Object
|
+--org.apache.commons.collections.functors.ExceptionFactory
- All Implemented Interfaces:
- Factory, Serializable
- public final class ExceptionFactory
- extends Object
- implements Factory, Serializable
Factory implementation that always throws an exception.
- Since:
- Commons Collections 3.0
- Version:
- $Revision: 1.3 $ $Date: 2004/01/14 21:43:09 $
- Author:
- Stephen Colebourne
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final Factory INSTANCE
- Singleton predicate instance
create
public Object create()
- Always throw an exception.
- Specified by:
create
in interface Factory
- Following copied from interface:
org.apache.commons.collections.Factory
- Returns:
- a new object
- Throws:
FunctorException
- (runtime) if the factory cannot create an object
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.