Class NoSuchTaskExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.dataflow.server.repository.NoSuchTaskExecutionException
- All Implemented Interfaces:
Serializable
This exception is used when requesting a
TaskExecution
that does not exist.- Author:
- Glenn Renfro, Gunnar Hillert
- See Also:
-
Constructor Summary
ConstructorDescriptionNoSuchTaskExecutionException
(long id) Create a new exception that can handle a singleTaskExecution
id.NoSuchTaskExecutionException
(String externalExecutionId, String platform) Create a new exception that handles multipleTaskExecution
ids. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchTaskExecutionException
public NoSuchTaskExecutionException(long id) Create a new exception that can handle a singleTaskExecution
id.- Parameters:
id
- the id of theTaskExecution
that could not be found
-
NoSuchTaskExecutionException
-
NoSuchTaskExecutionException
Create a new exception that handles multipleTaskExecution
ids.- Parameters:
ids
- the ids of theTaskExecution
that could not be found
-