27#ifndef NIDAS_CORE_SAMPLELENGTHEXCEPTION_H
28#define NIDAS_CORE_SAMPLELENGTHEXCEPTION_H
33namespace nidas {
namespace core {
40 std::ostringstream
os;
41 os <<
"SampleLengthException: " << msg <<
": value=" << val <<
42 " exceeds maximum allowed value=" <<
maxVal;
Definition SampleLengthException.h:35
virtual SampleLengthException * clone() const
Definition SampleLengthException.h:52
SampleLengthException(const std::string &msg, size_t val, size_t maxVal)
Definition SampleLengthException.h:37
virtual ~SampleLengthException()
Definition SampleLengthException.h:50
SampleLengthException(const SampleLengthException &e)
Copy constructor.
Definition SampleLengthException.h:48
Definition Exception.h:35
std::string _what
Definition Exception.h:38
Exception(const std::string &type, const std::string &n, const std::string &m)
Definition Exception.h:41
Sample * getSample(sampleType type, unsigned int len)
A convienence method for getting a sample of an enumerated type from a pool.
Definition Sample.cc:70
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31