bpp-seq
2.2.0
|
Exception thrown when a sequence is found to be empty and it should not. More...
#include <Bpp/Seq/SequenceExceptions.h>
Public Member Functions | |
EmptySequenceException (const std::string &text, const Sequence *seq=0) | |
Build a new EmptySequenceException object. More... | |
virtual | ~EmptySequenceException () throw () |
virtual const Sequence * | getSequence () const |
Get the sequence that threw the exception. More... | |
Exception thrown when a sequence is found to be empty and it should not.
Definition at line 99 of file SequenceExceptions.h.
EmptySequenceException::EmptySequenceException | ( | const std::string & | text, |
const Sequence * | seq = 0 |
||
) |
Build a new EmptySequenceException object.
text | A message to be passed to the exception hierarchy. |
seq | A const pointer toward the sequence that threw the exception. |
Definition at line 54 of file SequenceExceptions.cpp.
|
inlinevirtual |
Definition at line 113 of file SequenceExceptions.h.
|
inlinevirtualinherited |
Get the sequence that threw the exception.
Definition at line 93 of file SequenceExceptions.h.
References bpp::SequenceException::sequence_.