From fb8283cf1126b535f09e0e177cc17290e37fa6ca Mon Sep 17 00:00:00 2001 From: dellaert Date: Sat, 29 Nov 2014 19:47:45 +0100 Subject: [PATCH] Fixed message --- wrap/TypeAttributesTable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrap/TypeAttributesTable.cpp b/wrap/TypeAttributesTable.cpp index 14c1ab7a4..a836f2005 100644 --- a/wrap/TypeAttributesTable.cpp +++ b/wrap/TypeAttributesTable.cpp @@ -34,8 +34,8 @@ const TypeAttributes& TypeAttributesTable::attributes(const string& key) const { try { return table_.at(key); } catch (const out_of_range& oor) { - cerr << "Class::method: key not found: " << oor.what() - << ", methods are:\n"; + cerr << "TypeAttributesTable::attributes: key " << key + << " not found. Valid keys are:\n"; using boost::adaptors::map_keys; ostream_iterator out_it(cerr, "\n"); boost::copy(table_ | map_keys, out_it);