|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
errors.GUIFileException
public abstract class GUIFileException
The superclass of all exceptions arising from errors in the .gui file. All constructors of this class require a line number. Pass -1 for an unknown line number (then fix the code so the line number is known!).
| Field Summary | |
|---|---|
int |
lineNum
The number of the line at which the error occurred. |
| Constructor Summary | |
|---|---|
GUIFileException(int lineNum)
Use the generic exception message. |
|
GUIFileException(String msg,
int lineNum)
Use a given message. |
|
GUIFileException(String msg,
Throwable cause,
int lineNum)
Use a given message and cause. |
|
GUIFileException(Throwable cause,
int lineNum)
Use a given cause and the generic exception message. |
|
| Method Summary |
|---|
| 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 final int lineNum
| Constructor Detail |
|---|
public GUIFileException(int lineNum)
lineNum - The line number of the error.
public GUIFileException(String msg,
int lineNum)
msg - The error message.lineNum - The line number of the error.
public GUIFileException(String msg,
Throwable cause,
int lineNum)
msg - The error message.cause - The Throwable next in the cause chain.lineNum - The line number of the error.
public GUIFileException(Throwable cause,
int lineNum)
cause - The Throwable next in the cause chain.lineNum - The line number of the error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||