|
LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
Errors related to File I/O. More...
#include <exceptions.hpp>


Public Member Functions | |
| 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 char * | what (void) const throw () |
Protected Attributes | |
| std::string | _operation |
| std::string | _filename |
| int | _errcode |
Protected Attributes inherited from loos::LOOSError | |
| std::string | _msg |
Errors related to File I/O.
Most file I/O exceptions derive from this class.
Note that most I/O classes currently do not guarantee that they will be in a safe/usable state once an exception occurs