public class InvalidRegionException extends ModuleException
Region.checkValidRegion(),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
InvalidRegionException(Arc arc)
Constructor creates an InvalidRegionException because the region is not consistent for the given arc.
|
InvalidRegionException(State state,
java.lang.String event)
Constructor creates an InvalidRegionException because the region prevents the given event in the given state.
|
public static final long serialVersionUID
public InvalidRegionException(State state, java.lang.String event)
state - The state in which an event is preventedevent - The event that is preventedpublic InvalidRegionException(Arc arc)
arc - The arc that is not handled correctly