summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/master_lexer_state.h
diff options
context:
space:
mode:
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>2012-11-19 16:33:28 +0100
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>2012-11-19 16:57:08 +0100
commit83053b85d90b62e575aa4e8c185e80f3165b0f8b (patch)
treece446dd903ed8df346fd3528518d15e214b6aaef /src/lib/dns/master_lexer_state.h
parent[2375] Provide weak exception guarantee (diff)
downloadkea-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.h4
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.