Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
OSD_Error Class Reference

Management of OSD errors

#include <OSD_Error.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC OSD_Error ()
 Initializes Error to be without any Error.
This is only used by OSD, not by programmer.

void Perror ()
 Raises OSD_Error with accurate error message.

void SetValue (const Standard_Integer Errcode, const Standard_Integer From, const TCollection_AsciiString &Message)
 Instantiates error
This is only used by OSD methods to instantiates an error code.
No description is done for the programmer.

Standard_Integer Error () const
 Returns an accurate error code.
To test these values, you must include "OSD_ErrorList.hxx"

Standard_Boolean Failed () const
 Returns TRUE if an error occurs
This is a way to test if a system call succeeded or not.

void Reset ()
 Resets error counter to zero
This allows the user to ignore an error (WARNING).


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: