Remove generic std::exception handlers, they don't seem to be adding value, and they hide useful info.

This commit is contained in:
Daniel Patterson
2016-07-19 13:13:52 +02:00
committed by Patrick Niklaus
parent b4710633b1
commit 0b868969be
12 changed files with 18 additions and 89 deletions
+1 -1
View File
@@ -385,7 +385,7 @@ class StaticRTree
std::size_t num_leaves = m_leaves_region.size() / sizeof(LeafNode);
m_leaves.reset(reinterpret_cast<const LeafNode *>(m_leaves_region.data()), num_leaves);
}
catch (std::exception &exc)
catch (const std::exception &exc)
{
throw exception(boost::str(boost::format("Leaf file %1% mapping failed: %2%") %
leaf_file % exc.what()));