|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
cz.zcu.fav.kiv.jsim.JSimException
The JSimException class is a general exception used by J-Sim to inform user about an error. Unlike its subclasses, it is almost never instantiated. You should never need to create an instance of this class.
| Constructor Summary | |
JSimException(java.lang.String param)
Creates a new JSimException with the default description and a specific information. |
|
JSimException(java.lang.String description,
java.lang.String param)
Creates a new JSimException with a description and a specific information. |
|
| Method Summary | |
java.lang.String |
getSpecificInfo()
Returns detailed information about specific circumstances of the exception. |
void |
printComment(java.io.PrintStream ps)
Prints an explanation why this exception was thrown. |
| 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 JSimException(java.lang.String description,
java.lang.String param)
description - Describes the error that occured.param - Holds detailed information about specific circumstances of this exception,
for example a method's or a variable's name.public JSimException(java.lang.String param)
param - Holds detailed information about specific circumstances of this exception,
for example a method's or a variable's name.| Method Detail |
public void printComment(java.io.PrintStream ps)
ps - The print stream that the explanation is to be printed to.public java.lang.String getSpecificInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||