net.sf.ehcache.constructs.asynchronous

Class CommandNotFoundInCacheException

public class CommandNotFoundInCacheException extends AsynchronousCommandException

Thrown if a command id is in the queue but is not in the cache.

This could happen on abrupt shutdown of the JVM.

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

Author: Greg Luck

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

Constructor Detail

CommandNotFoundInCacheException

public CommandNotFoundInCacheException(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 CommandNotFoundInCacheException.

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

CommandNotFoundInCacheException

public CommandNotFoundInCacheException(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 CommandNotFoundInCacheException method). cause the cause (which is saved for later retrieval by the CommandNotFoundInCacheException method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)