libBioLCCC
Loading...
Searching...
No Matches
biolcccexception.h
1#ifndef BIOLCCCEXCEPTION_H
2#define BIOLCCCEXCEPTION_H
3
4#include <string>
5
6namespace BioLCCC
7{
8
10class BioLCCCException : public std::exception
11{
12public:
14 BioLCCCException(std::string message);
15
17 ~BioLCCCException() noexcept;
18
20 virtual const char* what() const noexcept;
21private:
22 std::string mMessage;
23};
24}
25
26#endif
Base class for all BioLCCC exceptions. Can be used by itself.
Definition biolcccexception.h:11
virtual const char * what() const noexcept
Returns a message.
Definition biolcccexception.cpp:14
~BioLCCCException() noexcept
A default destructor.
Definition biolcccexception.cpp:12
Apart from classes, BioLCCC contains calculation methods and constants.
Definition auxiliary.h:5