|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.util.concurrent.TimeoutException
net.sf.ehcache.constructs.nonstop.TaskNotSubmittedTimeoutException
public class TaskNotSubmittedTimeoutException
Subclass of TimeoutException
. This class is used to indicate a failure in NonStopCacheExecutorService.execute(..) when the task
was not submitted to the executor service at all.
Constructor Summary | |
---|---|
TaskNotSubmittedTimeoutException()
Default constructor |
|
TaskNotSubmittedTimeoutException(int submitAttemptCount)
Constructor accepting number of attempts made when this exception happened |
|
TaskNotSubmittedTimeoutException(String message)
Constructor accepting a message |
|
TaskNotSubmittedTimeoutException(String message,
int submitAttemptCount)
Constructor accepting message and number of attempts made |
Method Summary | |
---|---|
int |
getSubmitAttemptCount()
Getter for submit attempts made. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskNotSubmittedTimeoutException()
public TaskNotSubmittedTimeoutException(String message)
message
- public TaskNotSubmittedTimeoutException(int submitAttemptCount)
submitAttemptCount
- public TaskNotSubmittedTimeoutException(String message, int submitAttemptCount)
submitAttemptCount
- Method Detail |
---|
public int getSubmitAttemptCount()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |