|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--cz.zcu.fav.kiv.jsim.JSimException | +--cz.zcu.fav.kiv.jsim.JSimInvalidContextException
The JSimInvalidContextException is thrown whenever the user tries to call a method that cannot be invoked from the piece of code currently being executed. For example, a semaphore's P() operation can only be invoked from a process's code, not from outside a process. You should never need to create an instance of this class.
Field Summary |
Fields inherited from class cz.zcu.fav.kiv.jsim.JSimException |
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
JSimInvalidContextException(java.lang.String pars)
Creates a new JSimInvalidContextException with specific information. |
Method Summary | |
void |
printComment(java.io.PrintStream ps)
Prints an explanation why this exception was thrown. |
Methods inherited from class cz.zcu.fav.kiv.jsim.JSimException |
getSpecificInfo |
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 |
Constructor Detail |
public JSimInvalidContextException(java.lang.String pars)
pars
- Holds detailed information about specific circumstances of this exception,
for example a method's or a varibale's name.Method Detail |
public void printComment(java.io.PrintStream ps)
JSimException
printComment
in class JSimException
ps
- The print stream that the explanation is to be printed to.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |