RTX64Exception Class |
This class is the base class of all RTX64 exception classes.
Inheritance Hierarchy
SystemObject
SystemException
IntervalZero.RTX64RTX64Exception
Namespace:
IntervalZero.RTX64SystemException
IntervalZero.RTX64RTX64Exception
Assembly: IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 4.0.0.0 (File version: 4.5.0)
Syntax
The RTX64Exception type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RTX64Exception(String) |
Constructor with a message.
| |
RTX64Exception(String, Exception) |
Constructor with a message and inner exception.
|
Properties
Name | Description | |
---|---|---|
IsDisposed |
true if the object has been disposed.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Explicit dispose.
| |
Dispose(Boolean) |
Dispose of the object.
| |
Finalize |
Finalizer.
| |
GetCustomErrorMessage |
RTX64 real-time APIs can fail with GetLastError returning a custom Win32 error code. Custom
error codes have bit 29 set to mark them as application-specific error codes (per Microsoft
standards). This method maps a custom Win32 error code to a human-readable message
describing the error. When the RTX64 Managed Code Framework throws an exception of type
Win32Exception or RTX64Win32Exception (or when another type of exception has a Win32Exception object as the
InnerException), you can obtain the underlying Win32 error code from property
NativeErrorCode on the Win32Exception object.
| |
GetExtendedExceptionMessage |
Parse an exception to give a better error message.
| |
IsCustomError |
Returns true if parameter win32ErrorCode is an RTX64 custom Win32 error code, false
otherwise. Use method GetCustomErrorMessage to maps an RTX64 custom error code to a
human-readable error message.
|
See Also
Reference
Inheritance Hierarchy
SystemObject
SystemException
IntervalZero.RTX64RTX64Exception
IntervalZero.RTX64RTX64ConfigReadException
IntervalZero.RTX64RTX64InvalidArgumentException
IntervalZero.RTX64RTX64InvalidEditionException
IntervalZero.RTX64RTX64InvalidPropertyValueException
IntervalZero.RTX64RTX64InvalidTcpIpStackLicense
IntervalZero.RTX64RTX64NotConfiguredException
SystemException
IntervalZero.RTX64RTX64Exception
IntervalZero.RTX64RTX64ConfigReadException
IntervalZero.RTX64RTX64InvalidArgumentException
IntervalZero.RTX64RTX64InvalidEditionException
IntervalZero.RTX64RTX64InvalidPropertyValueException
IntervalZero.RTX64RTX64InvalidTcpIpStackLicense
IntervalZero.RTX64RTX64NotConfiguredException