 |
MeLOn
|
Go to the documentation of this file.
66 std::ostringstream message;
68 if (
typeid(*e).name() !=
typeid(*this).name()) {
69 message <<
" Original std::exception: " <<
typeid(*e).name() <<
": " << std::endl
72 message << e->what() << std::endl;
83 const char*
what() const noexcept
MelonException(const std::string &arg)
Constructor used for forwarding.
Definition: exceptions.h:42
MelonException(const std::string &arg, const std::exception *e)
Constructor used printing a FeedForwardNet Exception.
Definition: exceptions.h:64
MelonException(const std::string &arg, const std::exception &e)
Constructor used for forwarding.
Definition: exceptions.h:53
std::string _msg
Definition: exceptions.h:34
This class defines the exceptions thrown by FeedForwardNet.
Definition: exceptions.h:32
const char * what() const noexcept
Function to return the error message.
Definition: exceptions.h:83