Changeset 14404 for trunk/FACT++
- Timestamp:
- 08/21/12 21:46:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Database.h
r14047 r14404 21 21 boost::smatch what; 22 22 if (!boost::regex_match(database, what, expr, boost::match_extra)) 23 throw std::runtime_error("Couldn't parse '"+database+"'.");23 throw std::runtime_error("Couldn't parse database URI '"+database+"'."); 24 24 25 25 if (what.size()!=10) 26 throw std::runtime_error("Error parsing '"+database+"'.");26 throw std::runtime_error("Error parsing database URI '"+database+"'."); 27 27 28 28 user = what[2];
Note:
See TracChangeset
for help on using the changeset viewer.