Click or drag to resize
SoDebugError Class

Debug error handling.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ErrorsSoError
      OIV.Inventor.ErrorsSoDebugError

Namespace: OIV.Inventor.Errors
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public class SoDebugError : SoError

The SoDebugError type exposes the following members.

Constructors
  NameDescription
Public methodSoDebugError
Default constructor.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetDebugString

Returns debug string containing full error information from instance.

(Inherited from SoError.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetSeverity

Returns severity of error (for use by handlers).

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberPost

Posts an error.

Public methodStatic memberPostInfo

Posts an informational (non-error) message.

Public methodStatic memberPostWarning

Posts a warning.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyStatic memberHandlerCallback

Sets handler callback for OIV.Inventor.Errors.SoDebugError class.

Top
Remarks

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.

See Also