bpp-core3  3.0.0
bpp::NotImplementedException Class Reference

This exception is sent when a given method is not implemented. More...

#include <Bpp/Exceptions.h>

+ Inheritance diagram for bpp::NotImplementedException:
+ Collaboration diagram for bpp::NotImplementedException:

Public Member Functions

 NotImplementedException (std::string text)
 Build a new NotImplementedException. More...
 
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...
 

Private Attributes

std::string message_
 

Detailed Description

This exception is sent when a given method is not implemented.

Definition at line 229 of file Exceptions.h.

Constructor & Destructor Documentation

◆ NotImplementedException()

bpp::NotImplementedException::NotImplementedException ( std::string  text)

Build a new NotImplementedException.

Parameters
textA message to be passed to the exception hierarchy.

Definition at line 179 of file Exceptions.cpp.

Member Function Documentation

◆ message()

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

Access the message as a std::string.

Definition at line 119 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 118 of file Exceptions.cpp.

References bpp::Exception::message_.

Member Data Documentation

◆ message_

std::string bpp::Exception::message_
privateinherited

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