SoDebugError — debug error handling
Contents
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.
Inherits From
SoError > SoDebugError
Methods
staticvoidsetHandlerCallback(SoErrorCB*cb,void*data)staticSoErrorCB*getHandlerCallback()staticvoid*getHandlerData()
Sets/returns handler callback for SoDebugError class.
staticSoTypegetClassTypeId()
Returns type identifier for SoDebugError class.
SoDebugError::SeveritygetSeverity()const
Returns severity of error (for use by handlers).
Name
SoDebugError — debug error handling
See Also
SoMemoryError,SoReadErrorSoDebugError(3IV)()
Synopsis
#include<Inventor/errors/SoDebugError.h>enumSeverity{SoDebugError::ERROR Error
SoDebugError::WARNING Just a warning
SoDebugError::INFO No error, just information
}
Methods from class SoDebugError:
staticvoidsetHandlerCallback(SoErrorCB*cb,void*data)staticSoErrorCB*getHandlerCallback()staticvoid*getHandlerData()staticSoTypegetClassTypeId()SoDebugError::SeveritygetSeverity()const
Methods from class SoError:
constSbString&getDebugString()constvirtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)const