Class: ErrorSystem

Module location: Dferror.pkg line 181 (view source)

Class Hierarchy:

cObjectErrorSystem

Class Definition

Properties

IntegerBell_on_Find_Error_State
This allows us to skip find errors (GT & LT) and to only ring a bell when these occur.
IntegerCurrent_Error_Number
IntegerError_Line_Number
IntegerError_Processing_State
Flag which is sent when error is being processed. This stops error recursion.
BooleanpbShowErrorNumber
shows error numbers with user errors. Only set this true if your application has meaningful numbers that helps the end user. Note that unhandled errors always show numbers. this is ignored if pbUnhandledErrorSupport is false
BooleanpbUnhandledErrorSupport
If set false, this makes the error handler work the old way which does not use the new unhandled dialog. Only exists for compatibility reasons
StringpsUnhandledErrorCaption
This is the caption that appears for unhandled errors dialog box
StringpsUserErrorCaption
This is the caption that appears for standard user errors
Integer[]pUserErrorsArray
array of errors that we consider User Errors
IntegerVerbose_State

Functions and Procedures

AddUserError(Integer iError)
adds a user error to the array
StringApplication_Name()
construct_object()
StringError_Description(Integer Error# String ErrMsg)
*** Build complete error description from Flexerrs and user error message.
Error_Report(Integer ErrNum Integer Err_Line String ErrMsg)
*** Handle error event, displaying error info to user.
StringHelp_Context(Integer Context_Type)
StringHelp_Name()
JJT- Note if you are using the WINDAF windows help system the following functions are not used. The functions below are used to construct a general help name for errors that are generated by the system. If processing comes here, then there was no module specific help found. These functions will provide a more general help name that appears in the form of SYSTEM..ERROR:#. All global errors should be places in the help file under this application and module name. *** Returns "ERROR:errornum" to supply error help.
Ignore_All()
*** Forward all error to regular DataFlex error handler.
Ignore_Error(Integer Error#)
*** Pass error Error# on to the regular DataFlex error handler.
IntegerIs_Critical(Integer Error#)
** return true if an error number is critical
BooleanIsUnhandledError(Integer iError)
returns true if this is an unhandled error (i.e., not a user error
StringModule_Name()
RemoveAllUserErrors()
removes all user errors
RemoveUserError(Integer iError)
removes an error from the user array
Trap_All()
*** Catch and display all errors.
Trap_Error(Integer Error#)
*** Catch and display error Error#.
UnhandledErrorDisplay(Integer iErrorLine String sMessage)

Instances

oEvalObjcInternetSessionBusinessProcess.pkg88

References (1):

ModuleContaining SymbolLine
Dferror.pkgError_Info_Object534