Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67028 - trunk/libs/program_options/doc
From: marshall_at_[hidden]
Date: 2010-12-05 15:08:42


Author: marshall
Date: 2010-12-05 15:08:40 EST (Sun, 05 Dec 2010)
New Revision: 67028
URL: http://svn.boost.org/trac/boost/changeset/67028

Log:
update docs; refs #3992
Text files modified:
   trunk/libs/program_options/doc/howto.xml | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/program_options/doc/howto.xml
==============================================================================
--- trunk/libs/program_options/doc/howto.xml (original)
+++ trunk/libs/program_options/doc/howto.xml 2010-12-05 15:08:40 EST (Sun, 05 Dec 2010)
@@ -295,7 +295,7 @@
     if (regex_match(s, match, r)) {
         v = any(magic_number(lexical_cast<int>(match[1])));
     } else {
- throw validation_error("invalid value");
+ throw validation_error(valodation_error::invalid_option_value);
     }
 }
 ]]>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk