38 template <
typename... Args>
41 std::ostringstream ss;
60 virtual const char *
what()
const throw() {
return _message.c_str(); }
void streamArguments(StreamType &)
Provides a way for users to bail out of the current solve.
virtual const char * what() const
Get out the error message.
~MooseException()
For some reason, on GCC 4.6.3, I get 'error: looser throw specifier' when deriving from std::exceptio...
MooseException(const MooseException &)=default
Set an explicit default constructor to avoid the variadic template constructor below catch the copy c...
MooseException(std::string message)
MooseException(Args &&... args)