public class TaskNotSubmittedTimeoutException extends TimeoutException
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 and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
int |
getSubmitAttemptCount()
Getter for submit attempts made.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TaskNotSubmittedTimeoutException()
public TaskNotSubmittedTimeoutException(String message)
message
- public TaskNotSubmittedTimeoutException(int submitAttemptCount)
submitAttemptCount
- public TaskNotSubmittedTimeoutException(String message, int submitAttemptCount)
submitAttemptCount
- Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.