public class SchedulingException extends ConcurrentModificationException
Note that this is a RuntimeException
.
Usually, this method indicates a programming error.
Constructor and Description |
---|
SchedulingException(TextGridObject object,
String message,
Object... args) |
Modifier and Type | Method and Description |
---|---|
static void |
check(ISchedulingRule rule,
TextGridObject object,
String message,
Object... args)
Checks whether the given scheduling rule conflicts with the current job's.
|
TextGridObject |
getObject() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SchedulingException(TextGridObject object, String message, Object... args)
public TextGridObject getObject()
public static void check(ISchedulingRule rule, TextGridObject object, String message, Object... args)
rule
- The scheduling rule to checkobject
- Just for reference: The TextGridObject on which we operatemessage
- A message for the userargs
- arguments to the message, see MessageFormat.format(String, Object...)
SchedulingException
- the rule conflicts with the current job's