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
ConstructorsConstructorDescriptionNoSuchTaskExecutionException(long id) Create a new exception that can handle a singleTaskExecutionid.NoSuchTaskExecutionException(String externalExecutionId, String platform) Create a new exception that handles multipleTaskExecutionids. -
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 singleTaskExecutionid.- Parameters:
id- the id of theTaskExecutionthat could not be found
-
NoSuchTaskExecutionException
-
NoSuchTaskExecutionException
Create a new exception that handles multipleTaskExecutionids.- Parameters:
ids- the ids of theTaskExecutionthat could not be found
-