bpp-core3  3.0.0
bpp::HmmUnvalidAlphabetException Class Reference

Exception thrown when an unvalid alphabet is specified. More...

#include <Bpp/Numeric/Hmm/HmmExceptions.h>

+ Inheritance diagram for bpp::HmmUnvalidAlphabetException:
+ Collaboration diagram for bpp::HmmUnvalidAlphabetException:

Public Member Functions

 HmmUnvalidAlphabetException (const std::string &description)
 
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 when an unvalid alphabet is specified.

This class belongs to the HMM fra;ework.

Author
Julien Dutheil

Definition at line 35 of file HmmExceptions.h.

Constructor & Destructor Documentation

◆ HmmUnvalidAlphabetException()

bpp::HmmUnvalidAlphabetException::HmmUnvalidAlphabetException ( const std::string &  description)
inline

Definition at line 39 of file HmmExceptions.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: