public class TaskAlreadyRunningException extends TaskStatusException
Constructor and Description |
---|
TaskAlreadyRunningException(boolean encounteredAtStartAttempt)
default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEncounteredAtStartAttempt() |
getActualStatus, getExpectedStatus
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TaskAlreadyRunningException(boolean encounteredAtStartAttempt)
encounteredAtStartAttempt
- provides details about the circumstances when the running state was encountered.
If true the task was found to be running while trying to start the task, which can
only happen if another node of a clustered environment tried to start the task at
the same time. If false the task was already running before trying to start it.public boolean isEncounteredAtStartAttempt()
Copyright © 2019 Communote team. All rights reserved.