From: JINMEI Tatuya Date: Thu, 10 Jan 2013 02:19:47 +0000 (-0800) Subject: [2572] documented additional exceptions from InputSource wrt getting size. X-Git-Tag: bind10-1.0.0-rc-release~95^2~11^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76ca31298b2e7f5d85904045aaa6560bcf7ff8d6;p=thirdparty%2Fkea.git [2572] documented additional exceptions from InputSource wrt getting size. --- diff --git a/src/lib/dns/master_lexer_inputsource.h b/src/lib/dns/master_lexer_inputsource.h index 85b12e0675..793505954d 100644 --- a/src/lib/dns/master_lexer_inputsource.h +++ b/src/lib/dns/master_lexer_inputsource.h @@ -65,12 +65,16 @@ public: /// \brief Constructor which takes an input stream. The stream is /// read-from, but it is not closed. + /// + /// \throws OpenError If the data size of the input stream cannot be + /// detected. explicit InputSource(std::istream& input_stream); /// \brief Constructor which takes a filename to read from. The /// associated file stream is managed internally. /// - /// \throws OpenError when opening the input file fails. + /// \throws OpenError when opening the input file fails or the size of + /// the file cannot be detected. explicit InputSource(const char* filename); /// \brief Destructor