diff options
author | Michal 'vorner' Vaner <michal.vaner@nic.cz> | 2012-11-19 16:33:28 +0100 |
---|---|---|
committer | Michal 'vorner' Vaner <michal.vaner@nic.cz> | 2012-11-19 16:57:08 +0100 |
commit | 83053b85d90b62e575aa4e8c185e80f3165b0f8b (patch) | |
tree | ce446dd903ed8df346fd3528518d15e214b6aaef /src/lib/dns/master_lexer_state.h | |
parent | [2375] Provide weak exception guarantee (diff) | |
download | kea-83053b85d90b62e575aa4e8c185e80f3165b0f8b.tar.xz kea-83053b85d90b62e575aa4e8c185e80f3165b0f8b.zip |
[2375] Don't propagate exceptions from internal namespace
Move the ReadError exception into the MasterLexer. That way, it is in
public namespace, so people can expect to see it.
Diffstat (limited to 'src/lib/dns/master_lexer_state.h')
-rw-r--r-- | src/lib/dns/master_lexer_state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dns/master_lexer_state.h b/src/lib/dns/master_lexer_state.h index 301151bec9..4cf770043a 100644 --- a/src/lib/dns/master_lexer_state.h +++ b/src/lib/dns/master_lexer_state.h @@ -69,7 +69,7 @@ public: /// tokenization session. The lexer passes a reference to itself /// and options given in \c getNextToken(). /// - /// \throw InputSource::ReadError Unexpected I/O error + /// \throw MasterLexer::ReadError Unexpected I/O error /// \throw std::bad_alloc Internal resource allocation failure /// /// \param lexer The lexer object that holds the main context. @@ -85,7 +85,7 @@ public: /// start(), and keep called on the returned object until NULL is /// returned. The call chain will form the complete state transition. /// - /// \throw InputSource::ReadError Unexpected I/O error + /// \throw MasterLexer::ReadError Unexpected I/O error /// \throw std::bad_alloc Internal resource allocation failure /// /// \param lexer The lexer object that holds the main context. |