UT_Error Class Reference

#include <UT_Error.h>

List of all members.

Public Member Functions

 UT_Error (const char *type, const int errorcode, const char *string=0, const UT_ErrorSeverity=UT_ERROR_ABORT)
virtual ~UT_Error ()
virtual void getErrorMessage (UT_String &error, const UT_ErrorSeverity last=UT_ERROR_NONE, int useheaders=1)
const UT_StringgetErrorType () const
UT_ErrorSeverity getSeverity () const
int getErrorCode () const
const UT_StringgetString () const
void setErrorType (const char *type)
void setErrorString (const char *string)
void setErrorCode (int code)
void setSeverity (UT_ErrorSeverity)

Static Public Member Functions

static int getFileString (UT_String &buffer, const char *errorfile, const int errorcode, UT_ErrorSeverity severity, const UT_ErrorSeverity last, int useheaders)

Protected Member Functions

void stdGetErrorMessage (UT_String &errorstring, const char *errorfile, const UT_ErrorSeverity last, int useheaders) const


Detailed Description

Definition at line 80 of file UT_Error.h.


Constructor & Destructor Documentation

UT_Error::UT_Error ( const char *  type,
const int  errorcode,
const char *  string = 0,
const   UT_ErrorSeverity = UT_ERROR_ABORT 
)

virtual UT_Error::~UT_Error (  )  [virtual]


Member Function Documentation

int UT_Error::getErrorCode (  )  const [inline]

Definition at line 107 of file UT_Error.h.

virtual void UT_Error::getErrorMessage ( UT_String error,
const UT_ErrorSeverity  last = UT_ERROR_NONE,
int  useheaders = 1 
) [virtual]

const UT_String& UT_Error::getErrorType (  )  const [inline]

Definition at line 105 of file UT_Error.h.

static int UT_Error::getFileString ( UT_String buffer,
const char *  errorfile,
const int  errorcode,
UT_ErrorSeverity  severity,
const UT_ErrorSeverity  last,
int  useheaders 
) [static]

UT_ErrorSeverity UT_Error::getSeverity (  )  const [inline]

Definition at line 106 of file UT_Error.h.

const UT_String& UT_Error::getString (  )  const [inline]

Definition at line 108 of file UT_Error.h.

void UT_Error::setErrorCode ( int  code  ) 

void UT_Error::setErrorString ( const char *  string  ) 

void UT_Error::setErrorType ( const char *  type  ) 

void UT_Error::setSeverity ( UT_ErrorSeverity   ) 

void UT_Error::stdGetErrorMessage ( UT_String errorstring,
const char *  errorfile,
const UT_ErrorSeverity  last,
int  useheaders 
) const [protected]


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

Generated on Thu Jan 31 00:33:01 2013 for HDK by  doxygen 1.5.9