|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
adevs.SimulationException
public class SimulationException
These exceptions are thrown by the simulator to indicate problems at execution time.
Field Summary | |
---|---|
Devs |
src
|
Constructor Summary | |
---|---|
SimulationException(java.lang.String msg)
Create an exception not attributed to any particular model. |
|
SimulationException(java.lang.String msg,
Devs src)
Create an exception attributed to a specific model. |
Method Summary | |
---|---|
Devs |
who()
Get the model that caused the error, or null if it is not attributed to a model. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Devs src
Constructor Detail |
---|
public SimulationException(java.lang.String msg, Devs src)
msg
- Description of the errorpublic SimulationException(java.lang.String msg)
Method Detail |
---|
public Devs who()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |