bpp-popgen3  3.0.0
bpp::AlleleNotFoundException Class Reference

The AlleleNotFoundException class. More...

#include <Bpp/PopGen/GeneralExceptions.h>

+ Inheritance diagram for bpp::AlleleNotFoundException:
+ Collaboration diagram for bpp::AlleleNotFoundException:

Public Member Functions

 AlleleNotFoundException (const char *text, size_t id)
 Build the exception with a numerical identifier. More...
 
 AlleleNotFoundException (const std::string &text, size_t id)
 Build the exception with a numerical identifier. More...
 
 AlleleNotFoundException (const char *text, const std::string &id)
 Build the exception with a textual identifier. More...
 
 AlleleNotFoundException (const std::string &text, const std::string &id)
 Build the exception with a textual identifier. More...
 
 ~AlleleNotFoundException () throw ()
 
virtual const std::string getIdentifier () const
 Return the value of the identifier as a string. More...
 
const char * what () const noexcept override
 
const std::string & message () const noexcept
 

Protected Attributes

const std::string id_
 

Private Attributes

std::string message_
 

Detailed Description

The AlleleNotFoundException class.

Definition at line 107 of file GeneralExceptions.h.

Constructor & Destructor Documentation

◆ AlleleNotFoundException() [1/4]

AlleleNotFoundException::AlleleNotFoundException ( const char *  text,
size_t  id 
)

Build the exception with a numerical identifier.

Definition at line 72 of file GeneralExceptions.cpp.

References toString().

◆ AlleleNotFoundException() [2/4]

AlleleNotFoundException::AlleleNotFoundException ( const std::string &  text,
size_t  id 
)

Build the exception with a numerical identifier.

Definition at line 77 of file GeneralExceptions.cpp.

References toString().

◆ AlleleNotFoundException() [3/4]

AlleleNotFoundException::AlleleNotFoundException ( const char *  text,
const std::string &  id 
)

Build the exception with a textual identifier.

Definition at line 82 of file GeneralExceptions.cpp.

◆ AlleleNotFoundException() [4/4]

AlleleNotFoundException::AlleleNotFoundException ( const std::string &  text,
const std::string &  id 
)

Build the exception with a textual identifier.

Definition at line 87 of file GeneralExceptions.cpp.

◆ ~AlleleNotFoundException()

AlleleNotFoundException::~AlleleNotFoundException ( )
throw (
)

Definition at line 92 of file GeneralExceptions.cpp.

Member Function Documentation

◆ getIdentifier()

const std::string AlleleNotFoundException::getIdentifier ( ) const
virtual

Member Data Documentation

◆ id_

const std::string bpp::BadIdentifierException::id_
protectedinherited

Definition at line 59 of file GeneralExceptions.h.

Referenced by bpp::BadIdentifierException::getIdentifier().


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