class length_error : public logic_error {
public:
length_error(const string& what_arg);
};
The class serves as the base class for all exceptions thrown to report an attempt to generate an object too long to be
specified. The value returned by what
()
is what_arg.
data
()
.