bpp-seq3
3.0.0
|
The sequence exception base class. More...
#include <Bpp/Seq/SequenceExceptions.h>
Public Member Functions | |
SequenceException (const std::string &text, const CoreSequenceInterface *seq) | |
Build a new SequenceException object. More... | |
SequenceException (const SequenceException &se) | |
SequenceException & | operator= (const SequenceException &se) |
virtual | ~SequenceException () |
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_ |
The sequence exception base class.
Definition at line 23 of file SequenceExceptions.h.
|
inline |
Build a new SequenceException object.
text | A message to be passed to the exception hierarchy. |
seq | A const pointer toward the sequence that threw the exception. The exception object is not managing the pointer. |
Definition at line 39 of file SequenceExceptions.h.
|
inline |
Definition at line 44 of file SequenceExceptions.h.
|
inlinevirtual |
Definition at line 56 of file SequenceExceptions.h.
|
inlinevirtual |
Get the sequence that threw the exception.
Definition at line 64 of file SequenceExceptions.h.
References sequence_.
|
inline |
Definition at line 49 of file SequenceExceptions.h.
References sequence_.
|
private |
A pointer toward a sequence object.
Definition at line 30 of file SequenceExceptions.h.
Referenced by getSequence(), and operator=().