Class ModifiedJobDefinitionCannotBePreparedException

  • All Implemented Interfaces:
    ExceptionData, Serializable

    @Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl")
    public class ModifiedJobDefinitionCannotBePreparedException
    extends SchedulerAPIRuntimeException
    Only clean JobDefinitions can be prepared. This exception will be thrown when prepare has been called on a JobDefinition that has been modified since being retrieved from the database, or that has not yet been persisted to the database.
    See Also:
    Serialized Form
    • Constructor Detail

      • ModifiedJobDefinitionCannotBePreparedException

        protected ModifiedJobDefinitionCannotBePreparedException​(String newErrorCode,
                                                                 String messageFormat,
                                                                 Throwable cause,
                                                                 Object[] exceptionDataEN,
                                                                 Object[] exceptionData)
      • ModifiedJobDefinitionCannotBePreparedException

        public ModifiedJobDefinitionCannotBePreparedException​(Throwable cause)
        Only clean JobDefinitions can be prepared. This exception will be thrown when prepare has been called on a JobDefinition that has been modified since being retrieved from the database, or that has not yet been persisted to the database.
        Parameters:
        cause - The originating exception, null if this is the originating exception