Class exc_ios_failure (o2scl)

O2scl : Class List

class exc_ios_failure : public std::ios::failure

I/O failure error exception.

This class derives from std::ios::failure.

The errors which are handled with this exception type are

  • o2scl::exc_eof=32 end of file

  • o2scl::exc_efilenotfound=35 File not found

Public Functions

inline exc_ios_failure(const std::string &s)

Create an exception with description provided in s.

inline virtual ~exc_ios_failure()
inline virtual const char *what() const

Return the error string.