net.sf.ehcache.constructs.asynchronous

Class RetryAttemptTooSoonException

public class RetryAttemptTooSoonException extends AsynchronousCommandException

Thrown to indicate an attempt to retry execution of the command was made before it is allowed.

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

Author: Greg Luck

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

Constructor Detail

RetryAttemptTooSoonException

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

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

RetryAttemptTooSoonException

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