From 2bbf3eac25c92e12c2ffef713ef3c8cbca541ca8 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 23 Nov 2013 09:35:58 +0100 Subject: Do not throw exception for normal code flow (removed exceptions::no_object_found). --- 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 3ea6e25a..e1f40ce4 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -274,18 +274,6 @@ exception* no_recipient::clone() const { return new no_recipient(*this); } const char* no_recipient::name() const throw() { return "no_recipient"; } -// -// no_object_found -// - -no_object_found::~no_object_found() throw() {} -no_object_found::no_object_found(const exception& other) - : exception("No object found.", other) {} - -exception* no_object_found::clone() const { return new no_object_found(*this); } -const char* no_object_found::name() const throw() { return "no_object_found"; } - - // // no_such_property // -- cgit v1.2.3