net.sf.ehcache.constructs.asynchronous

Class TooManyRetriesException

public class TooManyRetriesException extends AsynchronousCommandException

Thrown when a command has unsuccessfully tried to be executed more than its retry limit.

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

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

Author: Greg Luck

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

Constructor Detail

TooManyRetriesException

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

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

TooManyRetriesException

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