Class InvalidScheduledStartException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.processmodel.InvalidTemplateStateException
de.aristaflow.adept2.model.processmodel.InvalidScheduledStartException
- All Implemented Interfaces:
Serializable
This exception will be thrown if a template status carries a scheduled start which its template
cannot carry: one with a negative period or retry count or with input values which the template
does not accept or which lack a mandatory one, or an enabled one which shares its ID with an
enabled start of another template while both templates are released, instantiable, top-level
usable and not outdated.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidScheduledStartException(UUID templateID, String templateName, UUID startID, String reason) Creates a new exception for the designated invalid scheduled start. -
Method Summary
Modifier and TypeMethodDescriptionGets why the scheduled start is invalid.Gets the ID of the invalid scheduled start.Gets the ID of the template whose status carries the invalid scheduled start.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
templateID
The ID of the template whose status carries the invalid scheduled start. -
startID
The ID of the invalid scheduled start. -
reason
Why the scheduled start is invalid.
-
-
Constructor Details
-
InvalidScheduledStartException
public InvalidScheduledStartException(UUID templateID, String templateName, UUID startID, String reason) Creates a new exception for the designated invalid scheduled start.- Parameters:
templateID- The ID of the template whose status carries the invalid scheduled start.templateName- The name of the template whose status carries the invalid scheduled start.startID- The ID of the invalid scheduled start ornullif it has none.reason- Why the scheduled start is invalid.
-
-
Method Details
-
getTemplateID
Gets the ID of the template whose status carries the invalid scheduled start.- Returns:
- The ID of the template whose status carries the invalid scheduled start.
-
getStartID
Gets the ID of the invalid scheduled start.- Returns:
- The ID of the invalid scheduled start or
nullif it has none.
-
getReason
Gets why the scheduled start is invalid.- Returns:
- Why the scheduled start is invalid.
-