bpp-core  2.2.0
bpp::HmmBadStateException Class Reference

Exception thrown when an unvalid state is requested. More...

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

+ Inheritance diagram for bpp::HmmBadStateException:
+ Collaboration diagram for bpp::HmmBadStateException:

Public Member Functions

 HmmBadStateException (const std::string &description)
 
const char * what () const throw ()
 Method to get the message of the exception (STL method redefinition). More...
 

Protected Attributes

std::string message_
 

Detailed Description

Exception thrown when an unvalid state is requested.

This class belongs to the HMM framework.

Author
Julien Dutheil

Definition at line 55 of file HmmExceptions.h.

Constructor & Destructor Documentation

◆ HmmBadStateException()

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

Definition at line 59 of file HmmExceptions.h.

Member Function Documentation

◆ what()

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 87 of file Exceptions.h.

References bpp::Exception::message_.

Member Data Documentation

◆ message_

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

Definition at line 61 of file Exceptions.h.

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


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