27 #ifndef NIDAS_CORE_SAMPLEPARSEEXCEPTION_H
28 #define NIDAS_CORE_SAMPLEPARSEEXCEPTION_H
33 namespace nidas {
namespace core {
45 const std::string& msg):
46 nidas::util::
Exception(
"SampleParseException", what +
": " + msg) {}
Definition: SampleParseException.h:35
Definition: Exception.h:35
virtual const char * what() const
Definition: Exception.h:98
SampleParseException(const std::string &message)
Create an ParseException, passing a message.
Definition: SampleParseException.h:51
Exception(const std::string &type, const std::string &n, const std::string &m)
Definition: Exception.h:41
SampleParseException(const std::string &what, const std::string &msg)
Create a ParseException, passing a name of what you're trying to parse, a message, and the line number of the document.
Definition: SampleParseException.h:44
SampleParseException * clone() const
clone myself (a "virtual" constructor).
Definition: SampleParseException.h:57