org.springframework.batch.core.configuration
Class DuplicateJobException

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.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
See Also:
Serialized Form

Constructor Summary
DuplicateJobException(String msg)
          Create an exception with the given message.
DuplicateJobException(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

DuplicateJobException

public DuplicateJobException(String msg)
Create an exception with the given message.


DuplicateJobException

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


Copyright © 2009 SpringSource. All Rights Reserved.