This exception class has an integer attribute for an error number in addition to the message. More...
#include <EuException.h>
Public Member Functions | |
ErrorNException (const char *_Message, int iError, char const *chFileName, int iLine) | |
ErrorNException (const ErrorNException &rT) | |
ErrorNException (const std::string &_Message, int iError, char const *chFileName, int iLine) | |
int | error () const |
char const * | fileName () const |
int | lineNumber () const |
ErrorNException & | operator= (const ErrorNException &rT) |
Private Attributes | |
char const * | m_FileName |
int | m_iError |
int | m_iLineNumber |
This exception class has an integer attribute for an error number in addition to the message.
|
inline |
Constructor with parameter passing.
[in] | _Message | Error text. |
[in] | iError | Error code. |
[in] | chFileName | The name of the file where the exception was trown. |
[in] | iLine | The line number where the exception was trown. |
References m_FileName, m_iError, and m_iLineNumber.
Referenced by ErrorNException(), and operator=().
|
inline |
Constructor with parameter passing.
[in] | _Message | Error text. |
[in] | iError | Error code. |
[in] | chFileName | The name of the file where the exception was trown. |
[in] | iLine | The line number where the exception was trown. |
References m_FileName, m_iError, and m_iLineNumber.
|
inline |
Copy constructor.
[in] | rT | The data is copied from this object. |
References ErrorNException(), m_FileName, m_iError, and m_iLineNumber.
|
inline |
|
inline |
Returns the name of the file where the exception was trown.
References m_FileName.
|
inline |
|
inline |
Allocation operator which expects an ErrorNException.
[in] | rT | The data is transferred from this object. |
References ErrorNException(), m_FileName, m_iError, and m_iLineNumber.
|
private |
The name of the file where the exception was trown.
Referenced by ErrorNException(), ErrorNException(), ErrorNException(), fileName(), and operator=().
|
private |
The error number is in this attribute.
Referenced by ErrorNException(), ErrorNException(), ErrorNException(), error(), and operator=().
|
private |
The line number where the exception was trown.
Referenced by ErrorNException(), ErrorNException(), ErrorNException(), lineNumber(), and operator=().