⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
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 java.lang.Object
implements Factory, Serializable

Factory implementation that always throws an exception.
Since:
Commons Collections 3.0
Author:
Stephen Colebourne

Field Summary

static Factory

INSTANCE

Singleton predicate instance

Method Summary

Object

create()

Always throw an exception.

Field Details

INSTANCE

public static final Factory INSTANCE

Singleton predicate instance

Method Details

create

public Object create()

Always throw an exception.