Public Member Functions | |
ErrorGUI (JFrame oParent) | |
Constructor. | |
ErrorGUI (javax.swing.JInternalFrame oParent) | |
Constructor. | |
ErrorGUI (JDialog oParent) | |
Constructor. | |
void | WriteErrorMessage (ModelException oErr) |
This function is the one-stop shop for writing error messages to screen. | |
Static Public Attributes | |
static final int | UNKNOWN = 0 |
Message of unknown type. | |
static final int | NO_MESSAGE = 1 |
You can pass no message. | |
static final int | PAUSE_RUN = 2 |
Request to pause run. | |
static final int | RUN = 3 |
Request to run model. | |
static final int | INPUT_FILE = 4 |
Request to input file. | |
static final int | QUIT = 5 |
Request to quit model. | |
static final int | MODEL_READY = 6 |
Model is in ready state. | |
static final int | MODEL_NOT_READY = 7 |
Model is not in ready state. | |
static final int | MODEL_PAUSED = 8 |
Model is paused. | |
static final int | RUN_COMPLETE = 9 |
Requested run is complete. | |
static final int | COMMAND_DONE = 10 |
Model is finished executing command. | |
static final int | INFO = 11 |
Message in the strMoreInfo string will be passed to the user. | |
static final int | BAD_ARGUMENT = 12 |
A bad or missing argument has been passed from the interface for a command. | |
static final int | BAD_COMMAND = 13 |
A bad command has been passed from the interface. | |
static final int | CANT_FIND_OBJECT = 14 |
An object could not be found. | |
static final int | TREE_WRONG_TYPE = 15 |
A tree was not of an expected type. | |
static final int | ACCESS_VIOLATION = 16 |
An access violation occurred. | |
static final int | BAD_FILE = 17 |
Bad file name or path - couldn't open the file. | |
static final int | BAD_FILE_TYPE = 18 |
A file was not an expected type. | |
static final int | BAD_XML_FILE = 19 |
XML file is malformed or invalid. | |
static final int | NEED_FILE = 20 |
Expected file name and didn't get one. | |
static final int | FILE_TOO_OLD = 26 |
File is too old to use. | |
static final int | DATA_MISSING = 21 |
Couldn't find needed data in file. | |
static final int | BAD_DATA = 22 |
Data was scrambled, of incorrect type, or otherwise invalid. | |
static final int | DATA_READ_ONLY = 23 |
Data isn't accessible for writing. | |
static final int | ILLEGAL_OP = 24 |
Illegal operation. | |
static final int | TAB_FILE_PREMATURE_END = 25 |
Unexpected end to tab-format file. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
javawrapper::ErrorGUI::ErrorGUI | ( | JFrame | oParent | ) | [inline] |
Constructor.
oParent | A window over which to display messages |
javawrapper::ErrorGUI::ErrorGUI | ( | javax.swing.JInternalFrame | oParent | ) | [inline] |
Constructor.
oParent | A window over which to display messages |
javawrapper::ErrorGUI::ErrorGUI | ( | JDialog | oParent | ) | [inline] |
Constructor.
oParent | A window over which to display messages |
void javawrapper::ErrorGUI::WriteErrorMessage | ( | ModelException | oErr | ) | [inline] |
This function is the one-stop shop for writing error messages to screen.
oErr | Error to display |