bpp-seq  2.2.0
bpp::SequenceWithGapException Class Reference

Exception thrown when a sequence is found to have gap and it should not. More...

#include <Bpp/Seq/SequenceExceptions.h>

+ Inheritance diagram for bpp::SequenceWithGapException:
+ Collaboration diagram for bpp::SequenceWithGapException:

Public Member Functions

 SequenceWithGapException (const std::string &text, const Sequence *seq=0)
 Build a new SequenceWithGapException object. More...
 
virtual ~SequenceWithGapException () throw ()
 
virtual const SequencegetSequence () const
 Get the sequence that threw the exception. More...
 

Detailed Description

Exception thrown when a sequence is found to have gap and it should not.

Definition at line 119 of file SequenceExceptions.h.

Constructor & Destructor Documentation

◆ SequenceWithGapException()

SequenceWithGapException::SequenceWithGapException ( const std::string &  text,
const Sequence seq = 0 
)

Build a new SequenceWithGapException object.

Parameters
textA message to be passed to the exception hierarchy.
seqA const pointer toward the sequence that threw the exception.

Definition at line 59 of file SequenceExceptions.cpp.

◆ ~SequenceWithGapException()

virtual bpp::SequenceWithGapException::~SequenceWithGapException ( )
throw (
)
inlinevirtual

Definition at line 133 of file SequenceExceptions.h.

Member Function Documentation

◆ getSequence()

virtual const Sequence* bpp::SequenceException::getSequence ( ) const
inlinevirtualinherited

Get the sequence that threw the exception.

Returns
A const pointer toward the sequence.

Definition at line 93 of file SequenceExceptions.h.

References bpp::SequenceException::sequence_.


The documentation for this class was generated from the following files: