|
ʻOhana
Population structure, admixture history, and selection using learning methods.
|
7 #ifndef JADE_ERROR_HPP__
8 #define JADE_ERROR_HPP__
10 #include "jade.assert.hpp"
18 template <
typename TChar>
52 assert(message !=
nullptr);
66 inline virtual const char *
what()
const throw();
74 template <typename TArgValue>
77 std::basic_ostringstream<char_type> out;
87 #ifndef DOXYGEN_IGNORE
96 #endif // DOXYGEN_IGNORE
99 typedef basic_error<char> error;
102 #endif // JADE_ERROR_HPP__
basic_error()
Initializes a new instance of the class with no message.
const string_type & str() const
basic_error(const string_type &message)
Initializes a new instance of the class with the specified message.
TChar char_type
The character type.
virtual const char * what() const
std::basic_string< char_type > string_type
The string type.
basic_error(char_type const *const message)
Initializes a new instance of the class with the specified message.
A template for a class representing an exception thrown from this namespace.