man SoDebugError () - debug error handling

NAME

SoDebugError - debug error handling

INHERITS FROM

SoError > SoDebugError

SYNOPSIS

#include <Inventor/errors/SoDebugError.h> enum Severity { c } c } Error

c } c } Just a warning

c } c } No error, just information

} Methods from class SoDebugError: c } c } setHandlerCallback(SoErrorCB *cb, void *data)

c } c } getHandlerCallback()

c } c } getHandlerData()

c } c } getClassTypeId()

c } c } getSeverity() const Methods from class SoError: c } c } getDebugString() const

c } c } getTypeId() const

c } c } isOfType(SoType type) const

DESCRIPTION

SoDebugError is used for all errors reported from the debugging version of the Inventor library. These errors are typically programmer errors, such as passing a NULL pointer or an out-of-range index. The post() method takes the name of the Inventor method that detected the error, to aid the programmer in debugging.

METHODS

c } c } setHandlerCallback(SoErrorCB *cb, void *data)

c } c } getHandlerCallback()

c } c } getHandlerData()

Sets/returns handler callback for SoDebugError class. c } c } getClassTypeId()

Returns type identifier for SoDebugError class. c } c } getSeverity() const

Returns severity of error (for use by handlers).

SEE ALSO

SoMemoryError, SoReadError