Package org.springframework.batch.core.launch

# Class NoSuchJobException

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

All Implemented Interfaces:
  `Serializable`

public class NoSuchJobException extends JobExecutionException
Checked exception to indicate that a required `Job` is not available.

Author:
  Dave Syer
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NoSuchJobException(String msg)`
  Create an exception with the given message.
  `NoSuchJobException(String msg, 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 Details

  - ### NoSuchJobException

    public NoSuchJobException(String msg)
    Create an exception with the given message.
    Parameters:
      `msg` - the error message.

  - ### NoSuchJobException

    public NoSuchJobException(String msg, Throwable e)
    Parameters:
      `msg` - the error message.
      `e` - the cause of the exception.