bpp-core3  3.0.0
bpp::KeyvalException Class Reference

Exception thrown by the Keyval parser. More...

#include <Bpp/Text/KeyvalTools.h>

+ Inheritance diagram for bpp::KeyvalException:
+ Collaboration diagram for bpp::KeyvalException:

Public Member Functions

 KeyvalException (const std::string &text)
 
const char * what () const noexcept override
 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

Exception thrown by the Keyval parser.

Definition at line 21 of file KeyvalTools.h.

Constructor & Destructor Documentation

◆ KeyvalException()

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

Definition at line 25 of file KeyvalTools.h.

Member Function Documentation

◆ message()

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

Access the message as a std::string.

Definition at line 79 of file Exceptions.cpp.

References bpp::Exception::message_.

◆ what()

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 78 of file Exceptions.cpp.

References bpp::Exception::message_.


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