AnimatLab
2
Test
|
Information about the standard error. More...
#include <StdErrorInfo.h>
Public Member Functions | |
CStdErrorInfo () | |
Default constructor. More... | |
CStdErrorInfo (long lError, std::string strError, std::string strSourceFile, long lSourceLine) | |
Constructor. More... | |
~CStdErrorInfo () throw () | |
Destructor. More... | |
virtual std::string | Log () |
Logs the error to the loggin mechanism. More... | |
virtual std::string | StackTrace () |
Gets the stack trace. More... | |
virtual const char * | what () const throw () |
Gets the error message. More... | |
Public Attributes | |
CStdArray< std::string > | m_aryCallChain |
The call chain of the errorr. | |
long | m_lError |
The error number. | |
long | m_lSourceLine |
The source line code line where the error occurred. | |
std::string | m_strError |
The error message. | |
std::string | m_strSourceFile |
The source file name where the error occurred. | |
Information about the standard error.
This is a standard exception type.
Definition at line 19 of file StdErrorInfo.h.
StdUtils::CStdErrorInfo::CStdErrorInfo | ( | ) |
Default constructor.
Definition at line 18 of file StdErrorInfo.cpp.
References m_lError, and m_lSourceLine.
StdUtils::CStdErrorInfo::CStdErrorInfo | ( | long | lError, |
std::string | strError, | ||
std::string | strSourceFile, | ||
long | lSourceLine | ||
) |
Constructor.
lError | The error number. |
strError | The error message. |
strSourceFile | The source filename. |
lSourceLine | Source line number. |
Definition at line 35 of file StdErrorInfo.cpp.
References m_lError, m_lSourceLine, m_strError, and m_strSourceFile.
StdUtils::CStdErrorInfo::~CStdErrorInfo | ( | ) | ||
throw | ( | |||
) |
Destructor.
Definition at line 49 of file StdErrorInfo.cpp.
References m_aryCallChain, and StdUtils::Std_TraceMsg().
|
virtual |
Logs the error to the loggin mechanism.
Definition at line 68 of file StdErrorInfo.cpp.
References m_aryCallChain, m_lError, m_lSourceLine, m_strError, and m_strSourceFile.
|
virtual |
Gets the stack trace.
Definition at line 87 of file StdErrorInfo.cpp.
References m_aryCallChain, m_lSourceLine, and m_strSourceFile.
|
inlinevirtual |
Gets the error message.
Definition at line 51 of file StdErrorInfo.h.