Chemical Data Processing Library C++ API - Version 1.2.0
Public Member Functions | List of all members
CDPL::Base::IOError Class Reference

Thrown to indicate that an I/O operation has failed because of physical (e.g. broken pipe) or logical (e.g. invalid file format) errors. More...

#include <Exceptions.hpp>

+ Inheritance diagram for CDPL::Base::IOError:

Public Member Functions

 IOError (const std::string &msg="")
 Constructs an IOError object with the error message set to msg. More...
 
virtual ~IOError () throw ()
 Virtual destructor. More...
 
- Public Member Functions inherited from CDPL::Base::OperationFailed
 OperationFailed (const std::string &msg="")
 Constructs an OperationFailed object with the error message set to msg. More...
 
virtual ~OperationFailed () throw ()
 Virtual destructor. More...
 
- Public Member Functions inherited from CDPL::Base::Exception
 Exception (const std::string &msg="")
 Constructs an Exception object with the error message set to msg. More...
 
virtual ~Exception () throw ()
 Virtual destructor. More...
 
const char * what () const throw ()
 Returns the message describing the cause of the exception and/or the location where the error occurred. More...
 

Detailed Description

Thrown to indicate that an I/O operation has failed because of physical (e.g. broken pipe) or logical (e.g. invalid file format) errors.

Constructor & Destructor Documentation

◆ IOError()

CDPL::Base::IOError::IOError ( const std::string &  msg = "")

Constructs an IOError object with the error message set to msg.

Parameters
msgA message describing the cause of the exception and/or the location where the error occurred.

◆ ~IOError()

virtual CDPL::Base::IOError::~IOError ( )
throw (
)
virtual

Virtual destructor.


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