Class: cWebAppError
This error handler is marked as a private class. There is nothing you can do to this class
to either change it (WebApp requires a single based on this class) and there are no messages
you can send to it. All error handling messages are handled by public messages in other classes
that direct the messages here. The interface bwtween the public methods and the error class is
considered to be internal implementation.
Class Hierarchy:
cObject

cWebAppErrorClass Definition
Properties
Integer
Current_Error_Number
Integer
Error_Line_Number
Integer
Error_Processing_State
Flag which is sent when error is being processed. This
stops error recursion.
Boolean
pbUnhandledErrorSupport
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
Handle
phoInetSession
this should not get set to a value until the COM object is created
and is working. When set, the error handler knows it that it can
send error messages to the COM handler.
Functions and Procedures

ClearError(integer iItem)
this is used to remove a single error from the queue
if iItem is -1, last error

ClearErrors()

Construct_object()

EnumerateErrors(Integer iMsg integer hObj)
Enumerate all errors.
For each error send iMsg to hObj passing all required error
information: iErr#, sErrorMsg, iLine, iFile, iField
string
Error_Description(integer Error# string ErrMsg)
String
Error_ErrMsg(Integer iItem)
Integer
Error_ErrNr(Integer iItem)
Integer
Error_FieldNr(Integer iItem)
Integer
Error_FileNr(Integer iItem)
Integer
Error_LineNr(Integer iItem)

Error_Report(integer iError integer iLine string ErrMsg)
integer
ErrorCount()
string
ErrorMessage(integer iItem)

ErrorReportCallback(integer iItem Integer iMsg integer hObj)
if item is -1 it is last error
integer
FileFieldErrorItem(integer iFile integer iField)
see if error exists for this file and field. If it does, return the
item number, else return -1.

IgnoreError(integer iError)
integer
Is_Critical(integer Error#)
** return true if an error number is critical
Boolean
IsTrapped(integer iError)

MessageBoxError(String sErrorText Boolean bCritical)

Set_Error(Integer iErrNr String sErrMsg integer iLineNr Integer iFileNr Integer iFieldNr)
Pass Err Num, Error Msg, Line#, File, Field and error-type

TrapAllErrors()

TrapError(integer iError)

UnhandledErrorDisplay(Integer iErrorLine String sMessage)
Instances
oEvalObj | cInternetSessionBusinessProcess.pkg | 88 |
References (1):