This exception class has an integer attribute for an error number in addition to the message.
More...
#include <EuException.h>
This exception class has an integer attribute for an error number in addition to the message.
- Copyright
- © 2010 Helmut Jakoby
- Author
- Helmut Jakoby
◆ ErrorNException() [1/3]
eut::ErrorNException::ErrorNException |
( |
const std::string & | _Message, |
|
|
int | iError, |
|
|
char const * | chFileName, |
|
|
int | iLine ) |
|
inline |
Constructor with parameter passing.
- Parameters
-
[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. |
◆ ErrorNException() [2/3]
eut::ErrorNException::ErrorNException |
( |
const char * | _Message, |
|
|
int | iError, |
|
|
char const * | chFileName, |
|
|
int | iLine ) |
|
inline |
Constructor with parameter passing.
- Parameters
-
[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. |
◆ ErrorNException() [3/3]
Copy constructor.
- Parameters
-
[in] | rT | The data is copied from this object. |
◆ error()
int eut::ErrorNException::error |
( |
| ) |
const |
|
inline |
Returns the error code.
- Returns
- see above.
◆ fileName()
char const * eut::ErrorNException::fileName |
( |
| ) |
const |
|
inline |
Returns the name of the file where the exception was trown.
- Returns
- see above.
◆ lineNumber()
int eut::ErrorNException::lineNumber |
( |
| ) |
const |
|
inline |
Returns the line number where the exception was trown.
- Returns
- see above.
◆ operator=()
Allocation operator which expects an ErrorNException.
- Parameters
-
[in] | rT | The data is transferred from this object. |
◆ m_FileName
char const* eut::ErrorNException::m_FileName |
|
private |
The name of the file where the exception was trown.
◆ m_iError
int eut::ErrorNException::m_iError |
|
private |
The error number is in this attribute.
◆ m_iLineNumber
int eut::ErrorNException::m_iLineNumber |
|
private |
The line number where the exception was trown.
The documentation for this class was generated from the following file: