bpp-popgen3  3.0.0
bpp::GroupNotFoundException Class Reference

The GroupNotFoundException class. More...

#include <Bpp/PopGen/GeneralExceptions.h>

+ Inheritance diagram for bpp::GroupNotFoundException:
+ Collaboration diagram for bpp::GroupNotFoundException:

Public Member Functions

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

Definition at line 227 of file GeneralExceptions.h.

Constructor & Destructor Documentation

◆ GroupNotFoundException() [1/4]

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

Build the exception with a numerical identifier.

Definition at line 159 of file GeneralExceptions.cpp.

References toString().

◆ GroupNotFoundException() [2/4]

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

Build the exception with a numerical identifier.

Definition at line 164 of file GeneralExceptions.cpp.

References toString().

◆ GroupNotFoundException() [3/4]

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

Build the exception with a textual identifier.

Definition at line 169 of file GeneralExceptions.cpp.

◆ GroupNotFoundException() [4/4]

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

Build the exception with a textual identifier.

Definition at line 174 of file GeneralExceptions.cpp.

◆ ~GroupNotFoundException()

GroupNotFoundException::~GroupNotFoundException ( )
throw (
)

Definition at line 179 of file GeneralExceptions.cpp.

Member Function Documentation

◆ getIdentifier()

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

Return the value of the identifier as a string.

Reimplemented from bpp::BadIdentifierException.

Definition at line 181 of file GeneralExceptions.cpp.

References bpp::BadIdentifierException::getIdentifier().

Referenced by bpp::DataSet::splitGroup().

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: