summaryrefslogtreecommitdiffstats
path: root/src/tclap/ArgException.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tclap/ArgException.h')
-rw-r--r--src/tclap/ArgException.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/tclap/ArgException.h b/src/tclap/ArgException.h
index be0b817..ea08bd6 100644
--- a/src/tclap/ArgException.h
+++ b/src/tclap/ArgException.h
@@ -1,5 +1,3 @@
-// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*-
-
/******************************************************************************
*
* file: ArgException.h
@@ -131,10 +129,8 @@ namespace TCLAP
* of the exception.
*/
ArgParseException(const std::string &text = "undefined exception",
- const std::string &id = "undefined") :
- ArgException(text,
- id,
- std::string("Exception found while parsing ") +
+ const std::string &id = "undefined") :
+ ArgException(text, id, std::string("Exception found while parsing ") +
std::string("the value the Arg has been passed."))
{
}
@@ -154,10 +150,8 @@ namespace TCLAP
* of the exception.
*/
CmdLineParseException(const std::string &text = "undefined exception",
- const std::string &id = "undefined") :
- ArgException(text,
- id,
- std::string("Exception found when the values ") +
+ const std::string &id = "undefined") :
+ ArgException(text, id, std::string("Exception found when the values ") +
std::string("on the command line do not meet ") +
std::string("the requirements of the defined ") + std::string("Args."))
{
@@ -178,10 +172,8 @@ namespace TCLAP
* of the exception.
*/
SpecificationException(const std::string &text = "undefined exception",
- const std::string &id = "undefined") :
- ArgException(text,
- id,
- std::string("Exception found when an Arg object ") +
+ const std::string &id = "undefined") :
+ ArgException(text, id, std::string("Exception found when an Arg object ") +
std::string("is improperly defined by the ") + std::string("developer."))
{
}
@@ -203,6 +195,6 @@ namespace TCLAP
private:
int _estat;
};
-} // namespace TCLAP
+}
#endif