bpp-core  2.1.0
 All Classes Namespaces Files Functions Variables Typedefs Friends
bpp::IOException Class Reference

The base class exception for IO error. More...

#include <Bpp/Exceptions.h>

+ Inheritance diagram for bpp::IOException:
+ Collaboration diagram for bpp::IOException:

Public Member Functions

 IOException (const char *text)
 Build a new IOException. More...
 
 IOException (const std::string &text)
 Build a new IOException. More...
 
virtual ~IOException () throw ()
 
const char * what () const throw ()
 Method to get the message of the exception (STL method redefinition). More...
 

Protected Attributes

std::string message_
 

Detailed Description

The base class exception for IO error.

Definition at line 93 of file Exceptions.h.

Constructor & Destructor Documentation

bpp::IOException::IOException ( const char *  text)
inline

Build a new IOException.

Parameters
textA message to be passed to the exception hierarchy.

Definition at line 103 of file Exceptions.h.

bpp::IOException::IOException ( const std::string &  text)
inline

Build a new IOException.

Parameters
textA message to be passed to the exception hierarchy.

Definition at line 110 of file Exceptions.h.

virtual bpp::IOException::~IOException ( ) throw ()
inlinevirtual

Definition at line 112 of file Exceptions.h.

Member Function Documentation

const char* bpp::Exception::what ( ) const throw ()
inlineinherited

Method to get the message of the exception (STL method redefinition).

Returns
The message passed to the exception hierarchy.

Definition at line 86 of file Exceptions.h.

References bpp::Exception::message_.

Member Data Documentation

std::string bpp::Exception::message_
protectedinherited

Definition at line 60 of file Exceptions.h.

Referenced by bpp::Exception::what().


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