shared
Class Error
java.lang.Object
|
+--shared.Error
- public class Error
- extends java.lang.Object
The Error class handles runtime error reporting. This class is not meant to be
instantiated and the functions in this class are all static.
|
Method Summary |
static void |
err(java.lang.String errMessage)
Displays an error message. |
static void |
fatalErr(java.lang.String errMessage)
Displays a fatal error message. |
static void |
parse_error(java.io.BufferedReader input,
java.lang.String errorMsg)
Displays a parse error message. |
static void |
parse_error(java.io.StreamTokenizer input,
java.lang.String errorMsg)
Displays a parse error message. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
err
public static void err(java.lang.String errMessage)
- Displays an error message.
- Parameters:
errMessage - The message to be displayed.
fatalErr
public static void fatalErr(java.lang.String errMessage)
- Displays a fatal error message.
- Parameters:
errMessage - The message to be displayed.
parse_error
public static void parse_error(java.io.BufferedReader input,
java.lang.String errorMsg)
- Displays a parse error message.
- Parameters:
input - Information about where in the files the error occured.errorMsg - The message to be displayed.
parse_error
public static void parse_error(java.io.StreamTokenizer input,
java.lang.String errorMsg)
- Displays a parse error message.
- Parameters:
input - Information about where in the files the error occured.errorMsg - The message to be displayed.