From a8072bab85de5521efb64ad56ac9d1aeba76ec10 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 4 Mar 2010 04:39:54 +0000 Subject: Catch any exception for parsing name, assume it's a bad OID --- src/libstate/oid_lookup/oids.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstate/oid_lookup/oids.cpp b/src/libstate/oid_lookup/oids.cpp index 232c63360..c54762c58 100644 --- a/src/libstate/oid_lookup/oids.cpp +++ b/src/libstate/oid_lookup/oids.cpp @@ -49,7 +49,7 @@ OID lookup(const std::string& name) { return OID(name); } - catch(Exception) + catch(...) { throw Lookup_Error("No object identifier found for " + name); } -- cgit v1.2.3