|
bpp-seq
2.2.0
|
The alphabet exception base class. More...
#include <Bpp/Seq/Alphabet/AlphabetExceptions.h>
Inheritance diagram for bpp::AlphabetException:
Collaboration diagram for bpp::AlphabetException:Public Member Functions | |
| AlphabetException (const std::string &text, const Alphabet *alpha=0) | |
| Build a new AlphabetException object. More... | |
| AlphabetException (const AlphabetException &ae) | |
| AlphabetException & | operator= (const AlphabetException &ae) |
| virtual | ~AlphabetException () throw () |
| virtual const Alphabet * | getAlphabet () const |
| Get the alphabet that threw the exception. More... | |
Private Attributes | |
| const Alphabet * | alphabet_ |
The alphabet exception base class.
Definition at line 58 of file AlphabetExceptions.h.
| AlphabetException::AlphabetException | ( | const std::string & | text, |
| const Alphabet * | alpha = 0 |
||
| ) |
Build a new AlphabetException object.
| text | A message to be passed to the exception hierarchy. |
| alpha | A const pointer toward the alphabet that threw the exception. |
Definition at line 52 of file AlphabetExceptions.cpp.
|
inline |
Definition at line 73 of file AlphabetExceptions.h.
|
inlinevirtual | |||||||||||||
Definition at line 81 of file AlphabetExceptions.h.
|
inlinevirtual |
Get the alphabet that threw the exception.
Definition at line 89 of file AlphabetExceptions.h.
References alphabet_.
|
inline |
Definition at line 74 of file AlphabetExceptions.h.
References alphabet_.
|
private |
Definition at line 62 of file AlphabetExceptions.h.
Referenced by getAlphabet(), and operator=().