org.springframework.cloud.dataflow.server.repository

## 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

      public class NoSuchTaskExecutionException
      extends RuntimeException

  This exception is used when requesting a `TaskExecution` that does not exist.
  Author:
    Glenn Renfro, Gunnar Hillert
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoSuchTaskExecutionException(long id)` Create a new exception that can handle a single `TaskExecution` id.
    `NoSuchTaskExecutionException(Set<Long> ids)` Create a new exception that handles multiple `TaskExecution` ids.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

    - #### NoSuchTaskExecutionException

          public NoSuchTaskExecutionException(long id)

      Create a new exception that can handle a single `TaskExecution` id.
      Parameters:
        `id` - the id of the `TaskExecution` that could not be found

    - #### NoSuchTaskExecutionException

          public NoSuchTaskExecutionException(Set<Long> ids)

      Create a new exception that handles multiple `TaskExecution` ids.
      Parameters:
        `ids` - the ids of the `TaskExecution` that could not be found

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.