Class DuplicateJobException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.springframework.batch.core.JobExecutionException
org.springframework.batch.core.configuration.DuplicateJobException
All Implemented Interfaces:
Serializable

public class DuplicateJobException extends JobExecutionException
Checked exception that indicates a name clash when registering Job instances.
Author:
Dave Syer, Mahmoud Ben Hassine
See Also:
  • Constructor Details

    • DuplicateJobException

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

      public DuplicateJobException(String msg, Throwable e)
      Create an exception with the given message and the given exception.
      Parameters:
      msg - error message.
      e - instance of Throwable that is the cause of the exception.