HyperLabel.Error Method (Error, Symbol) | |
Provide a method for handling error conditions raised during hyperlabel processing.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Error(
oError AS Error,
symMethod AS SYMBOL
) AS VOID
public virtual void Error(
Error oError,
Symbol symMethod
)
Request Example
View SourceParameters
- oError
- Type: Error
An Error object describing the error condition. - symMethod
- Type: Symbol
The symbolic name of the method that originated the error.
Remarks Tip |
---|
This is an event handler and is automatically called by other methods; the developer does not normally need to call the HyperLabel:Error() method, but might want to replace or amend it. |
The standard Error() handling method fills in some more information about the errors and about the HyperLabel object that originates the error, sets the status value for the object, and passes the problem to its client, if there is one, in its standard Error() handling method. If there is no client who wants to deal with the problem, the method passes it up the call stack by issuing a BREAK with the same Error object.
Tip |
---|
If an error comes in while one is being handled, the Error() method immediately breaks. |
See Also