org.springframework.batch.core.launch
Class NoSuchJobInstanceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.springframework.batch.core.JobExecutionException
              extended by org.springframework.batch.core.launch.NoSuchJobInstanceException
All Implemented Interfaces:
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
NoSuchJobInstanceException(String msg)
          Create an exception with the given message.
NoSuchJobInstanceException(String msg, Throwable e)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(String msg)
Create an exception with the given message.


NoSuchJobInstanceException

public NoSuchJobInstanceException(String msg,
                                  Throwable e)
Parameters:
msg - The message to send to caller
e - the cause of the exception


Copyright © 2013 SpringSource. All Rights Reserved.