1#ifndef INC_EUEXCEPTION_H
2#define INC_EUEXCEPTION_H
131 inline ErrorNException(
const std::string & _Message,
int iError,
char const * chFileName,
int iLine );
150 inline ErrorNException(
const char *_Message,
int iError,
char const * chFileName,
int iLine );
179 inline int error()
const;
192 inline char const *
fileName()
const;
227 #pragma warning( disable : 4189 )
230 #if defined(__GNUC__)
232 #pragma GCC diagnostic push
233 #pragma GCC diagnostic ignored "-Wunused-variable"
237 : std::runtime_error( _Message ),
239 m_FileName( chFileName ),
240 m_iLineNumber( iLine )
243 int t_iDEBUG_BreakPoint = 1;
248 : std::runtime_error( _Message ),
250 m_FileName( chFileName ),
251 m_iLineNumber( iLine )
254 int t_iDEBUG_BreakPoint = 1;
260 #pragma warning( default : 4189 )
263 #if defined(__GNUC__)
265 #pragma GCC diagnostic pop
269 : std::runtime_error( rT ),
270 m_iError( rT.m_iError ),
271 m_FileName( rT.m_FileName ),
272 m_iLineNumber( rT.m_iLineNumber )
298 std::runtime_error::operator=( rT );
This exception class has an integer attribute for an error number in addition to the message.
Definition EuException.h:73
char const * fileName() const
Definition EuException.h:281
char const * m_FileName
Definition EuException.h:97
int m_iLineNumber
Definition EuException.h:108
int error() const
Definition EuException.h:276
ErrorNException & operator=(const ErrorNException &rT)
Definition EuException.h:291
int lineNumber() const
Definition EuException.h:286
int m_iError
Definition EuException.h:86
ErrorNException(const std::string &_Message, int iError, char const *chFileName, int iLine)
Definition EuException.h:236