Commits

ssnyder  committed 0035d44

Improve formatting of errors from Array parsing.

  • Participants
  • Parent commits 1e11434
  • Tags CxxUtils-00-00-69

Comments (0)

Files changed (2)

+2010-10-01  scott snyder  <snyder@bnl.gov>
+
+	* tagging CxxUtils-00-00-68.
+	* src/Arrayrep.cxx (error): Improve error message formatting.
+
 2010-08-26  scott snyder  <snyder@bnl.gov>
 
 	* tagging CxxUtils-00-00-67.

File src/Arrayrep.cxx

 void error (const std::string& context,
             const std::string& msg)
 {
-  throw std::runtime_error (msg + context);
+  throw std::runtime_error (msg + ": " + context);
 }