SoDebugError Class |
Debug error handling.
Namespace: OIV.Inventor.Errors
The SoDebugError type exposes the following members.
Name | Description | |
---|---|---|
SoDebugError | Default constructor. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetDebugString | Returns debug string containing full error information from instance. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetSeverity | Returns severity of error (for use by handlers). | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Post | Posts an error. | |
PostInfo | Posts an informational (non-error) message. | |
PostWarning | Posts a warning. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
HandlerCallback | Sets handler callback for OIV.Inventor.Errors.SoDebugError class. |
OIV.Inventor.Errors.SoDebugError is used for all errors reported from Open Inventor library. These errors are typically programmer errors, such as passing a null reference or an out-of-range index. The OIV.Inventor.Errors.SoDebugError.Post(System.String, System.String) method takes the name of the Open Inventor method that detected the error, to aid the programmer in debugging.
See OIV.Inventor.Errors.SoError for full discussion of error handling in Open Inventor.