⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections.functors

Class ExceptionClosure

java.lang.Object
|
+--org.apache.commons.collections.functors.ExceptionClosure

All Implemented Interfaces:
Closure, Serializable


public final class ExceptionClosure
extends java.lang.Object
implements Closure, Serializable

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

Field Summary

static Closure

INSTANCE

Singleton predicate instance

Method Summary

void

execute(Object object)

Always throw an exception.

Field Details

INSTANCE

public static final Closure INSTANCE

Singleton predicate instance

Method Details

execute

public void execute(Object object)

Always throw an exception.

Parameters:
object