1#ifndef INC_EUEXCEPTION_H
2#define INC_EUEXCEPTION_H
116 inline ErrorNException(
const std::string & _Message,
int iError,
char const * chFileName,
int iLine );
135 inline ErrorNException(
const char *_Message,
int iError,
char const * chFileName,
int iLine );
164 inline int error()
const;
177 inline char const *
fileName()
const;
212 #pragma warning( disable : 4189 )
215 #if defined(__GNUC__)
217 #pragma GCC diagnostic push
218 #pragma GCC diagnostic ignored "-Wunused-variable"
222 : std::runtime_error( _Message ),
224 m_FileName( chFileName ),
225 m_iLineNumber( iLine )
228 int t_iDEBUG_BreakPoint = 1;
233 : std::runtime_error( _Message ),
235 m_FileName( chFileName ),
236 m_iLineNumber( iLine )
239 int t_iDEBUG_BreakPoint = 1;
245 #pragma warning( default : 4189 )
248 #if defined(__GNUC__)
250 #pragma GCC diagnostic pop
254 : std::runtime_error( rT ),
255 m_iError( rT.m_iError ),
256 m_FileName( rT.m_FileName ),
257 m_iLineNumber( rT.m_iLineNumber )
283 std::runtime_error::operator=( rT );
Diese Exception-Klasse hat zusätzlich zur Message ein Integer-Attribute für eine Fehlernummer.
Definition EuException.h:58
char const * fileName() const
Definition EuException.h:266
char const * m_FileName
Definition EuException.h:82
int m_iLineNumber
Definition EuException.h:93
int error() const
Definition EuException.h:261
ErrorNException & operator=(const ErrorNException &rT)
Definition EuException.h:276
int lineNumber() const
Definition EuException.h:271
int m_iError
Definition EuException.h:71
ErrorNException(const std::string &_Message, int iError, char const *chFileName, int iLine)
Definition EuException.h:221