bpp-seq3
3.0.0
|
Exception thrown when a sequence is not align with others. More...
#include <Bpp/Seq/SequenceExceptions.h>
Public Member Functions | |
SequenceNotAlignedException (const std::string &text, const CoreSequenceInterface *seq) | |
Build a new SequenceNotAlignedException object. More... | |
virtual | ~SequenceNotAlignedException () |
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 not align with others.
Typically, this may occur when you try to add a bad sequence to a site container.
Definition at line 112 of file SequenceExceptions.h.
|
inline |
Build a new SequenceNotAlignedException 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 122 of file SequenceExceptions.h.
|
inlinevirtual |
Definition at line 126 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=().