LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
loos::FileReadErrorWithLine Class Reference

Errors that occur while reading a text file (where lines are tracked) More...

#include <exceptions.hpp>

Inheritance diagram for loos::FileReadErrorWithLine:
Inheritance graph
[legend]
Collaboration diagram for loos::FileReadErrorWithLine:
Collaboration graph
[legend]

Public Member Functions

 FileReadErrorWithLine (const uint ln)
 
 FileReadErrorWithLine (const std::string &fname, const uint ln)
 
 FileReadErrorWithLine (const std::string &fname, const std::string &msg, const uint ln)
 
uint lineNumber () const throw ()
 The line number that caused the problem.
 
- Public Member Functions inherited from loos::FileReadError
 FileReadError (const std::string &fname)
 
 FileReadError (const std::string &fname, const std::string &msg)
 
 FileReadError (const std::string &fname, const std::string &msg, const int err)
 
- Public Member Functions inherited from loos::FileError
 FileError (const std::string &op)
 
 FileError (const std::string &op, const std::string &fname)
 
 FileError (const std::string &op, const std::string &fname, const std::string &msg)
 
 FileError (const std::string &op, const std::string &fname, const std::string &msg, const int err)
 
std::string operation () const throw ()
 What operation was involved (e.g. reading, writing. etc)
 
std::string filename () const throw ()
 File that had the problem (or "stream" if not a file)
 
int errorCode () const
 The error code that may have been generated.
 
void errorCode (const int i)
 Sets the error code.
 
- Public Member Functions inherited from loos::LOOSError
 LOOSError (const std::string &arg)
 
 LOOSError (const Atom &a, const std::string &arg)
 
 LOOSError (const std::string &fname, const Atom &a, const std::string &arg)
 
virtual const charwhat (void) const throw ()
 

Protected Attributes

uint _lineno
 
std::string _msg
 
- Protected Attributes inherited from loos::FileError
std::string _operation
 
std::string _filename
 
int _errcode
 
- Protected Attributes inherited from loos::LOOSError
std::string _msg
 

Detailed Description

Errors that occur while reading a text file (where lines are tracked)


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