ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
FileReadError Class Reference

for dealing with error in reading, problem of formatting for instance More...

#include <UtilsExceptions.h>

Inheritance diagram for FileReadError:
Inheritance graph
[legend]
Collaboration diagram for FileReadError:
Collaboration graph
[legend]

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
 

Detailed Description

for dealing with error in reading, problem of formatting for instance

Definition at line 75 of file UtilsExceptions.h.

Constructor & Destructor Documentation

FileReadError::FileReadError ( const std::string &  fileNameIn,
int  lineNumIn = -1 
)

Definition at line 31 of file UtilsExceptions.cpp.

References FileError::mFileMsg, mLineNum, and Utils::toString().

Here is the call graph for this function:

FileReadError::FileReadError ( const std::string &  fileNameIn,
const std::string &  msg 
)

Definition at line 41 of file UtilsExceptions.cpp.

References FileError::mFileMsg.

Member Function Documentation

int FileReadError::getLineNum ( )
inline

Definition at line 80 of file UtilsExceptions.h.

References mLineNum.

Field Documentation

int FileReadError::mLineNum
protected

Definition at line 84 of file UtilsExceptions.h.

Referenced by FileReadError(), and getLineNum().


The documentation for this class was generated from the following files: