Class JobExecutionNotStoppedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.springframework.batch.core.job.JobExecutionException
org.springframework.batch.core.launch.JobExecutionNotStoppedException
All Implemented Interfaces:
Serializable

@Deprecated(since="6.0", forRemoval=true) public class JobExecutionNotStoppedException extends JobExecutionException
Deprecated, for removal: This API element is subject to removal in a future version.
as of 6.0 in favor of JobExecutionAlreadyRunningException. Scheduled for removal in 6.2.
Checked exception to indicate that user asked for a job execution to be aborted when hasn't been stopped.
Author:
Dave Syer, Mahmoud Ben Hassine
See Also:
  • Constructor Details

    • JobExecutionNotStoppedException

      public JobExecutionNotStoppedException(String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create an exception with the given message.
      Parameters:
      msg - the message.