From 83053b85d90b62e575aa4e8c185e80f3165b0f8b Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Mon, 19 Nov 2012 16:33:28 +0100 Subject: [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. --- src/lib/dns/master_lexer_state.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/dns/master_lexer_state.h') 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. -- cgit v1.2.3