27 #ifndef NIDAS_CORE_SAMPLELENGTHEXCEPTION_H
28 #define NIDAS_CORE_SAMPLELENGTHEXCEPTION_H
33 namespace nidas {
namespace core {
40 std::ostringstream os;
41 os <<
"SampleLengthException: " << msg <<
": value=" << val <<
42 " exceeds maximum allowed value=" << maxVal;
SampleLengthException(const std::string &msg, size_t val, size_t maxVal)
Definition: SampleLengthException.h:37
std::string _what
Definition: Exception.h:38
Definition: Exception.h:35
Definition: SampleLengthException.h:35
SampleLengthException(const SampleLengthException &e)
Copy constructor.
Definition: SampleLengthException.h:48
Exception(const std::string &type, const std::string &n, const std::string &m)
Definition: Exception.h:41
virtual SampleLengthException * clone() const
Definition: SampleLengthException.h:52
virtual ~SampleLengthException()
Definition: SampleLengthException.h:50