diff options
author | lloyd <[email protected]> | 2010-03-04 04:39:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-04 04:39:54 +0000 |
commit | a8072bab85de5521efb64ad56ac9d1aeba76ec10 (patch) | |
tree | dafb8ab09678fe5b0671722460f28452142b24f8 /src/libstate | |
parent | 75f888fc3776519d41ac242a2559e4c7e78f86a0 (diff) |
Catch any exception for parsing name, assume it's a bad OID
Diffstat (limited to 'src/libstate')
-rw-r--r-- | src/libstate/oid_lookup/oids.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |