GseosError
Previous  Top  Next

All errors GSEOS can generate are exported in the GseosError module. The exceptions are structured hierarchically and you can catch any GSEOS specific exception by handling TGseosError. Most exceptions fall into groups related to a specific GSEOS module:

Gseos
TGseosError:The base class of all GSEOS exceptions.  
TWindowNotFoundError:Any functions that work on specific windows will raise this error if the specified window can not be found.  
TConsoleError:Base class for console function errors.  
TConsoleFileError:Exception if there are problems with console files.  
TLogError:Base class of all log function errors.  
TLogFileError:File related log errors.  
TLogWindowExistsError:When opening a new log window which is already open.  
TLogWindowNotFoundError:When logging to a window that can't be found.  

GseosBlocks

TItemDescriptionError:The item description is not valid.  
TBDMBlockError:Base class for block errors.  

GseosCmd

TCmdError:Base class for command errors.  
TCmdParseError:The command definition file could not be parsed, you can also get XML specific exceptions if your command definition is not well formed.  
TCmdFormatError:The command is not formatted properly.  
TCmdUnknownCmdError:The command is unknown.  
TCmdArgValueError:A command argument has an invalid value.  
TCmdArgMissingError:A command argument is missing.  
TCmdTypeError:A command argument has an invalid type.  
TCmdBatchError:Command batch file errors.  
TCmdMenuError:Base class for all command menu related errors.  
TCmdMenuSyntaxError:Synax error in command menu file.  
TCmdMenuIncludeError:Error including menu file.  
TCmdMenuNestingError:Error nesting command menus, this could be a circular include.  

GseosSequencer

TSequencerError:Base class for all sequencer related errors.  
TSeqAbortError:The sequencer was aborted by the user.  
TSeqTimeoutError:The sequencer timed out.