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:
cObjectcWebAppErrorClass Definition
Properties
IntegerCurrent_Error_Number
IntegerError_Line_Number
IntegerError_Processing_State
Flag which is sent when error is being processed. This
stops error recursion.
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
HandlephoInetSession
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
stringError_Description(integer Error# string ErrMsg)
StringError_ErrMsg(Integer iItem)
IntegerError_ErrNr(Integer iItem)
IntegerError_FieldNr(Integer iItem)
IntegerError_FileNr(Integer iItem)
IntegerError_LineNr(Integer iItem)
Error_Report(integer iError integer iLine string ErrMsg)
integerErrorCount()
stringErrorMessage(integer iItem)
ErrorReportCallback(integer iItem Integer iMsg integer hObj)
if item is -1 it is last error
integerFileFieldErrorItem(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)
integerIs_Critical(integer Error#)
** return true if an error number is critical
BooleanIsTrapped(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):