summaryrefslogtreecommitdiff
path: root/src/OptionHandlerException.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-10-22 01:03:14 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-10-22 01:03:14 +0900
commitd5c8d048efeb524d5d2222b4547f9dd19e943f13 (patch)
tree117dd74fff2594be1ee6d6ba00dc9d8c301bf05e /src/OptionHandlerException.h
parent3832ed97c616eff0057d7a0e5a161c4282537160 (diff)
Rewritten OptionParser. Made it simpler and efficient.
Diffstat (limited to 'src/OptionHandlerException.h')
-rw-r--r--src/OptionHandlerException.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/OptionHandlerException.h b/src/OptionHandlerException.h
index fae9d67f..a400ccee 100644
--- a/src/OptionHandlerException.h
+++ b/src/OptionHandlerException.h
@@ -57,7 +57,10 @@ public:
virtual ~OptionHandlerException() throw();
- const std::string& getOptionName() const throw();
+ const Pref* getPref() const
+ {
+ return pref_;
+ }
};
#define OPTION_HANDLER_EXCEPTION(arg) \