Package | Description |
---|---|
desmoj.core.exception |
Exceptions for interrupting processes and for internal simulation control.
|
desmoj.core.simulator |
The core simulation infrastructure and basic components.
|
Modifier and Type | Method and Description |
---|---|
InterruptCode |
InterruptException.getInterruptCode()
Returns the
InterruptCode associated with this
InterruptException. |
Constructor and Description |
---|
DelayedInterruptException(InterruptCode interruptCode)
Constructs a DelayedInterruptException with the given InterruptCode.
|
InterruptException(InterruptCode interruptCode)
Constructs an
InterruptException containing the given
InterruptCode . |
Modifier and Type | Method and Description |
---|---|
InterruptCode |
SimProcess.getInterruptCode()
Returns the InterruptCode from this SimProcess.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
InterruptCode.equals(InterruptCode a,
InterruptCode b)
Returns
true if the two given interrupt codes have the
same internal code, false otherwise. |
void |
SimProcess.interrupt(InterruptCode interruptReason)
Interrupts the SimProcess setting the given InterruptCode as the reason
for the interruption.
|
Constructor and Description |
---|
InterruptCode(InterruptCode cloneMe)
Constructs a new interrupt code to be an identical clone of the given
interrupt code object.
|