bpp-seq3
3.0.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 CoreSequenceInterface *seq) | |
Build a new EmptySequenceException object. More... | |
virtual | ~EmptySequenceException () |
virtual const CoreSequenceInterface * | getSequence () const |
Get the sequence that threw the exception. More... | |
const char * | what () const noexcept override |
const std::string & | message () const noexcept |
Private Attributes | |
const CoreSequenceInterface * | sequence_ |
A pointer toward a sequence object. More... | |
std::string | message_ |
Exception thrown when a sequence is found to be empty and it should not.
Definition at line 70 of file SequenceExceptions.h.
|
inline |
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 80 of file SequenceExceptions.h.
|
inlinevirtual |
Definition at line 84 of file SequenceExceptions.h.
|
inlinevirtualinherited |
Get the sequence that threw the exception.
Definition at line 64 of file SequenceExceptions.h.
References bpp::SequenceException::sequence_.
|
privateinherited |
A pointer toward a sequence object.
Definition at line 30 of file SequenceExceptions.h.
Referenced by bpp::SequenceException::getSequence(), and bpp::SequenceException::operator=().