org.apache.ode.scheduler.simple
Class JobNoLongerInDbException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.ode.scheduler.simple.JobNoLongerInDbException
All Implemented Interfaces:
java.io.Serializable

public class JobNoLongerInDbException
extends java.lang.Exception

Exception thrown if an attempt has been made to commit a job that is no longer in the database. This can happen if multiple nodes through some bizarre bad luck happen to execute the same job. In any case, the second node will receive this exception which will cause a roll-back of the transaction running the job.

See Also:
Serialized Form

Constructor Summary
JobNoLongerInDbException(java.lang.String jobId, java.lang.String nodeId)
           
 
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

JobNoLongerInDbException

public JobNoLongerInDbException(java.lang.String jobId,
                                java.lang.String nodeId)