ROOT_Application
2.0
C++ Core modules and GUIStock
|
for dealing with error in reading, problem of formatting for instance More...
#include <UtilsExceptions.h>
Public Member Functions | |
FileReadError (const std::string &fileNameIn, int lineNumIn=-1) | |
FileReadError (const std::string &fileNameIn, const std::string &msg) | |
int | getLineNum () |
Public Member Functions inherited from FileError | |
FileError (const std::string &fileIn) | |
FileError (const std::string &fileIn, const std::string(msg)) | |
~FileError () throw () | |
virtual const char * | what () const noexcept |
for getting the message with standard interface do not throw exception More... | |
std::string | getFileName () const |
Protected Attributes | |
int | mLineNum |
Protected Attributes inherited from FileError | |
std::string | mFile |
std::string | mFileMsg |
for dealing with error in reading, problem of formatting for instance
Definition at line 75 of file UtilsExceptions.h.
FileReadError::FileReadError | ( | const std::string & | fileNameIn, |
int | lineNumIn = -1 |
||
) |
Definition at line 31 of file UtilsExceptions.cpp.
References FileError::mFileMsg, mLineNum, and Utils::toString().
FileReadError::FileReadError | ( | const std::string & | fileNameIn, |
const std::string & | msg | ||
) |
Definition at line 41 of file UtilsExceptions.cpp.
References FileError::mFileMsg.
|
inline |
Definition at line 80 of file UtilsExceptions.h.
References mLineNum.
|
protected |
Definition at line 84 of file UtilsExceptions.h.
Referenced by FileReadError(), and getLineNum().