From f91b1ec6a08f0b30350c15887763598a145c3889 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 23 Nov 2013 10:16:06 +0100 Subject: Replaced "no_such_parameter" exception with "std::out_of_range". Fixed argument of std::out_of_range. --- src/exception.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/exception.cpp') diff --git a/src/exception.cpp b/src/exception.cpp index 45f672a3..042ac4f4 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -142,18 +142,6 @@ exception* no_digest_algorithm_available::clone() const { return new no_digest_a const char* no_digest_algorithm_available::name() const throw() { return "no_digest_algorithm_available"; } -// -// no_such_parameter -// - -no_such_parameter::~no_such_parameter() throw() {} -no_such_parameter::no_such_parameter(const string& name, const exception& other) - : exception(string("Parameter not found: '") + name + string("'."), other) {} - -exception* no_such_parameter::clone() const { return new no_such_parameter(*this); } -const char* no_such_parameter::name() const throw() { return "no_such_parameter"; } - - // // no_such_field // -- cgit v1.2.3