bpp-popgen3  3.0.0
bpp::IndividualNotFoundException Class Reference

The IndividualNotFoundException class. More...

#include <Bpp/PopGen/GeneralExceptions.h>

+ Inheritance diagram for bpp::IndividualNotFoundException:
+ Collaboration diagram for bpp::IndividualNotFoundException:

Public Member Functions

 IndividualNotFoundException (const char *text, size_t id)
 Build the exception with a numerical identifier. More...
 
 IndividualNotFoundException (const std::string &text, size_t id)
 Build the exception with a numerical identifier. More...
 
 IndividualNotFoundException (const char *text, const std::string &id)
 Build the exception with a textual identifier. More...
 
 IndividualNotFoundException (const std::string &text, const std::string &id)
 Build the exception with a textual identifier. More...
 
 ~IndividualNotFoundException () 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 IndividualNotFoundException class.

Definition at line 187 of file GeneralExceptions.h.

Constructor & Destructor Documentation

◆ IndividualNotFoundException() [1/4]

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

Build the exception with a numerical identifier.

Definition at line 130 of file GeneralExceptions.cpp.

References toString().

◆ IndividualNotFoundException() [2/4]

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

Build the exception with a numerical identifier.

Definition at line 135 of file GeneralExceptions.cpp.

References toString().

◆ IndividualNotFoundException() [3/4]

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

Build the exception with a textual identifier.

Definition at line 140 of file GeneralExceptions.cpp.

◆ IndividualNotFoundException() [4/4]

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

Build the exception with a textual identifier.

Definition at line 145 of file GeneralExceptions.cpp.

◆ ~IndividualNotFoundException()

IndividualNotFoundException::~IndividualNotFoundException ( )
throw (
)

Definition at line 150 of file GeneralExceptions.cpp.

Member Function Documentation

◆ getIdentifier()

const std::string IndividualNotFoundException::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: