diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-26 17:12:52 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-26 17:20:27 +0900 |
| commit | d64089632e82a2548752c7a6baaa68365a795a74 (patch) | |
| tree | 57fc7b85a8c1290975d58fa4761b04a7695bf7e3 /src/OptionHandlerException.cc | |
| parent | c81b1321122e8509b55c94c0cbca0d8d6d319f0c (diff) | |
| parent | a7cd943a06b1a5ff4515b57060b84037f8d01f9f (diff) | |
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/OptionHandlerException.cc')
| -rw-r--r-- | src/OptionHandlerException.cc | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/src/OptionHandlerException.cc b/src/OptionHandlerException.cc index eb2d1513..301c44a9 100644 --- a/src/OptionHandlerException.cc +++ b/src/OptionHandlerException.cc @@ -39,26 +39,25 @@ namespace aria2 { namespace { const char* MESSAGE = - _("We encountered a problem while processing the option '--%s'."); + _("We encountered a problem while processing the option '--%s'."); } // namespace -OptionHandlerException::OptionHandlerException -(const char* file, int line, - PrefPtr pref) - : RecoverableException - (file, line, fmt(MESSAGE, pref->k), error_code::OPTION_ERROR), - pref_(pref) -{} +OptionHandlerException::OptionHandlerException(const char* file, int line, + PrefPtr pref) + : RecoverableException(file, line, fmt(MESSAGE, pref->k), + error_code::OPTION_ERROR), + pref_(pref) +{ +} -OptionHandlerException::OptionHandlerException -(const char* file, int line, - PrefPtr pref, - const Exception& cause) - : RecoverableException - (file, line, fmt(MESSAGE, pref->k), error_code::OPTION_ERROR, - cause), - pref_(pref) -{} +OptionHandlerException::OptionHandlerException(const char* file, int line, + PrefPtr pref, + const Exception& cause) + : RecoverableException(file, line, fmt(MESSAGE, pref->k), + error_code::OPTION_ERROR, cause), + pref_(pref) +{ +} OptionHandlerException::~OptionHandlerException() throw() {} |
