|
bpp-seq3
3.0.0
|
Exception thrown in case no character is available for a certain state in an alphabet. More...
#include <Bpp/Seq/Alphabet/AlphabetExceptions.h>
Inheritance diagram for bpp::CharStateNotSupportedException:
Collaboration diagram for bpp::CharStateNotSupportedException:Public Member Functions | |
| CharStateNotSupportedException (const std::string &text, const Alphabet *alpha) | |
| Build a new CharStateNotSupportedException. More... | |
| CharStateNotSupportedException (const std::string &text, std::shared_ptr< const Alphabet > alpha) | |
| Build a new CharStateNotSupportedException. More... | |
| virtual | ~CharStateNotSupportedException () |
| virtual const Alphabet * | getAlphabet () const |
| Get the alphabet that threw the exception. More... | |
| const char * | what () const noexcept override |
| const std::string & | message () const noexcept |
Private Attributes | |
| const Alphabet * | alphabet_ |
| std::string | message_ |
Exception thrown in case no character is available for a certain state in an alphabet.
Definition at line 218 of file AlphabetExceptions.h.
| CharStateNotSupportedException::CharStateNotSupportedException | ( | const std::string & | text, |
| const Alphabet * | alpha | ||
| ) |
Build a new CharStateNotSupportedException.
| text | A message to be passed to the exception hierarchy. |
| alpha | A const pointer toward the alphabet that threw the exception. |
Definition at line 66 of file AlphabetExceptions.cpp.
| CharStateNotSupportedException::CharStateNotSupportedException | ( | const std::string & | text, |
| std::shared_ptr< const Alphabet > | alpha | ||
| ) |
Build a new CharStateNotSupportedException.
| text | A message to be passed to the exception hierarchy. |
| alpha | A const pointer toward the alphabet that threw the exception. |
Definition at line 71 of file AlphabetExceptions.cpp.
|
inlinevirtual |
Definition at line 238 of file AlphabetExceptions.h.
|
inlinevirtualinherited |
Get the alphabet that threw the exception.
Definition at line 65 of file AlphabetExceptions.h.
References bpp::AlphabetException::alphabet_.
|
privateinherited |
Definition at line 26 of file AlphabetExceptions.h.
Referenced by bpp::AlphabetException::getAlphabet(), and bpp::AlphabetException::operator=().