org.springframework.batch.core.launch

## Class NoSuchJobInstanceException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.springframework.batch.core.JobExecutionException
      - - org.springframework.batch.core.launch.NoSuchJobInstanceException

- All Implemented Interfaces:
    java.io.Serializable

      public class NoSuchJobInstanceException
      extends JobExecutionException

  Exception that signals that the user requested an operation on a non-existent `JobInstance`.
  Author:
    Dave Syer
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoSuchJobInstanceException(java.lang.String msg)` Create an exception with the given message.
    `NoSuchJobInstanceException(java.lang.String msg, java.lang.Throwable e)`

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

    - #### NoSuchJobInstanceException

          public NoSuchJobInstanceException(java.lang.String msg)

      Create an exception with the given message.
      Parameters:
        `msg` - the error message.

    - #### NoSuchJobInstanceException

          public NoSuchJobInstanceException(java.lang.String msg,
                                            java.lang.Throwable e)

      Parameters:
        `msg` - the error message.
        `e` - the cause of the exception.