net.sf.ehcache.constructs.asynchronous

Class AsynchronousCommandException

public class AsynchronousCommandException extends Exception

Thrown when an asynchronous command has somehow failed. This Exception has several subclasses for the different types of exception.

The Command will not accept any more execute attempts, so it will never be able to complete its task.

Version: $Id: AsynchronousCommandException.java 59 2006-04-30 03:41:39Z gregluck $

Author: Greg Luck

Constructor Summary
AsynchronousCommandException(String message)
Constructs a new exception with the specified detail message.
AsynchronousCommandException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.

Constructor Detail

AsynchronousCommandException

public AsynchronousCommandException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to AsynchronousCommandException.

Parameters: message the detail message. The detail message is saved for later retrieval by the AsynchronousCommandException method.

AsynchronousCommandException

public AsynchronousCommandException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters: message the detail message (which is saved for later retrieval by the AsynchronousCommandException method). cause the cause (which is saved for later retrieval by the AsynchronousCommandException method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)