Click or drag to resize

Error Class

X#
XSharp Runtime base Error class
Inheritance Hierarchy
Object
  Exception
    Error
      SQLErrorInfo
      RddError
      SQLErrorInfo

Namespace:  XSharp
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 CLASS Error INHERIT Exception
Request Example View Source

The Error type exposes the following members.

Constructors
  NameDescription
Public methodError
Create an Error Object
Public methodError(Exception)
Create an Error Object with the Innner Exception
Public methodError(String)
Create an Error Object with the specified Description
Public methodError(DWord, String)
Create an Error Object for a Gencode and Argument Name.
Public methodError(DWord, DWord)
Create an Error Object.
Public methodError(DWord, String, String)
Create an Error Object for a Gencode, Argument Name and Description.
Public methodError(Exception, String, String, DWord, Object)
Create an Error Object with the Innner Exception and other parameters
Public methodError(DWord, DWord, String, String, DWord)
Create an Error Object.
Top
Properties
  NameDescription
Public propertyArg
A string representing the argument supplied to an operator or function when an argument error occurs.
Public propertyArgNum
A numeric value representing the number of the argument supplied to an operator or function when an argument error occurs.
Public propertyArgs
An array of the arguments supplied to an operator or function when an argument error occurs.
Public propertyArgType
A numeric value representing the data type of the argument that raised the error.
Public propertyArgTypeReq
A numeric value representing the expected type of the argument that raised the error.
Public propertyArgTypeReqType
The system type representing the expected type of the argument that raised the error.
Public propertyArgTypeType
The system type representing the data type of the argument that raised the error.
Public propertyCallFuncSym
A symbol representing the calling function of the function in which the error occurred.
Public propertyCanDefault
A logical value indicating whether the subsystem can perform default error recovery for the error condition.
Public propertyCanRetry
A logical value indicating whether the subsystem can retry the operation that caused the error condition.
Public propertyCanSubstitute
A logical value indicating whether a new result can be substituted for the operation that produced the error condition.
Public propertyCargo
A value of any data type unused by the Error system. It is provided as a user-definable slot, allowing arbitrary information to be attached to an Error object and retrieved later
Public propertyDescription
A string that describes the error condition.
Public propertyFileHandle
A numeric value representing the file handle supplied to a function when an file error occurs.
Public propertyFileName
A string representing the name used to open the file associated with the error condition.
Public propertyFuncPtr
A pointer to the function in which the error occurred.
Public propertyFuncSym
A string representing the name of the function or method in which the error occurred.
Public propertyGencode
An integer numeric value representing a Visual Objects generic error code.
Public propertyGenCodeText
An string containing the description of the Gencode.
Public propertyMaxSize
A numeric value representing a boundary condition for an operation (such as string overflow or array bound error).
Public propertyMethodSelf
An object representing the SELF of the method in which the error occurred.
Public propertyOperation
A string that describes the operation being attempted when the error occurred.
Public propertyOSCode
A value of 0 indicates that the error condition was not caused by an error from the operating system.
Public propertyOSCodeText
Descripion of the OSCode
Public propertySeverity
A constant indicating the severity of the error condition.
Public propertyStack
Call stack from the moment where the error object was created
Public propertyStackTrace (Overrides StackTrace.)
Public propertySubCode
An integer numeric value representing a subsystem-specific error code.
Public propertySubCodeText
An string containing the description of the SubCode.
Public propertySubstituteType
A numeric value representing the type of the new result that the error handler substitutes for the operation that produced the error condition.
Public propertySubSystem
A string representing the name of the subsystem generating the error.
Public propertyTries
An integer numeric value representing the number of times the failed operation has been attempted.
Top
Methods
  NameDescription
Public methodStatic memberGetInnerException
Public methodSetStackTrace
Public methodThrow
Throw the error.
Public methodToString
Creates and returns a string representation of the current exception.
(Overrides ToString.)
Top
See Also