bpp-seq  2.2.0
bpp::StopCodonException Class Reference

Exception thrown when a stop codon is found. More...

#include <Bpp/Seq/GeneticCode/GeneticCode.h>

+ Inheritance diagram for bpp::StopCodonException:
+ Collaboration diagram for bpp::StopCodonException:

Public Member Functions

 StopCodonException (const std::string &text, const std::string &codon)
 
virtual ~StopCodonException () throw ()
 
virtual const std::string & getCodon () const
 

Private Attributes

std::string codon_
 

Detailed Description

Exception thrown when a stop codon is found.

Definition at line 54 of file GeneticCode.h.

Constructor & Destructor Documentation

◆ StopCodonException()

StopCodonException::StopCodonException ( const std::string &  text,
const std::string &  codon 
)

Definition at line 49 of file GeneticCode.cpp.

◆ ~StopCodonException()

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

Definition at line 65 of file GeneticCode.h.

Member Function Documentation

◆ getCodon()

virtual const std::string& bpp::StopCodonException::getCodon ( ) const
inlinevirtual

Definition at line 68 of file GeneticCode.h.

References codon_.

Member Data Documentation

◆ codon_

std::string bpp::StopCodonException::codon_
private

Definition at line 58 of file GeneticCode.h.

Referenced by getCodon().


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