bpp-core  2.4.0
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 (std::string text)
 Build a new IOException. More...
 
const char * what () const noexceptoverride
 Method to get the message of the exception (STL method redefinition). More...
 
const std::string & message () const noexcept
 Access the message as a std::string. More...
 

Detailed Description

The base class exception for IO error.

Definition at line 76 of file Exceptions.h.

Constructor & Destructor Documentation

bpp::IOException::IOException ( std::string  text)

Build a new IOException.

Parameters
textA message to be passed to the exception hierarchy.

Definition at line 59 of file Exceptions.cpp.

Member Function Documentation

const std::string & bpp::Exception::message ( ) const
noexceptinherited

Access the message as a std::string.

Definition at line 57 of file Exceptions.cpp.

References bpp::Exception::message_.

const char * bpp::Exception::what ( ) const
overridenoexceptinherited

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

Returns
The message passed to the exception hierarchy.

Definition at line 56 of file Exceptions.cpp.

References bpp::Exception::message_.


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