62 badNumber_(badNumber) {}
66 badNumber_(badNumber) {}
71 Exception(string(text) +
"(" + badNumber +
")"),
72 badNumber_(badNumber) {}
76 badNumber_(badNumber) {}
83 lowerBound_(lowerBound),
84 upperBound_(upperBound) {}
88 vector<size_t> bounds(2);
99 correctSize_(correctSize) {}
105 lowerBound_(lowerBound),
106 upperBound_(upperBound)
OutOfRangeException(const std::string &text, double badValue, double lowerBound, double upperBound)
Build a new OutOfRangeException.
This class allows to perform a correspondence analysis.
std::vector< size_t > getBounds() const
Get the bounds.
IndexOutOfBoundsException(const std::string &text, size_t badInt, size_t lowerBound, size_t upperBound)
Build a new IndexOutOfBoundsException.
BadSizeException(const std::string &text, size_t badSize, size_t correctSize)
Build a new BadSizeException.
BadIntegerException(const char *text, int badInt)
Build a new BadIntegerException.
BadNumberException(const char *text, double badNumber)
Build a new BadNumberException.
Some utilitary functions that work on strings.