HermesCommon  3.0
Hermes::Exceptions::IOException Class Reference

IO exception. Internal. Exception occurs when something fails to be written to / read from the disk. More...

#include <exceptions.h>

+ Inheritance diagram for Hermes::Exceptions::IOException:

Public Types

enum  ReadWrite { Read, Write }
 Read or Write.
 

Public Member Functions

 IOException (ReadWrite readWrite, const char *filename)
 
 IOException (ReadWrite readWrite, std::string filename)
 
 IOException (const IOException &e)
 
- Public Member Functions inherited from Hermes::Exceptions::Exception
 Exception ()
 Init exception with default message.
 
 Exception (const Exception &e)
 
 Exception (const char *msg,...)
 
void print_msg () const
 print error message to stderr
 
virtual const char * what () const throw ()
 get pointer to error message
 
std::string info () const
 
const char * get_func_name () const
 

Additional Inherited Members

- Protected Attributes inherited from Hermes::Exceptions::Exception
std::stringstream message
 
char message_char [10000]
 To be compatible with what().
 

Detailed Description

IO exception. Internal. Exception occurs when something fails to be written to / read from the disk.

Definition at line 76 of file exceptions.h.

Constructor & Destructor Documentation

Hermes::Exceptions::IOException::IOException ( ReadWrite  readWrite,
const char *  filename 
)

Constructor

Parameters
[in]readWriteobvious.
[in]filenameobvious.

Definition at line 69 of file exceptions.cpp.


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