]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2572] documented additional exceptions from InputSource wrt getting size.
authorJINMEI Tatuya <jinmei@isc.org>
Thu, 10 Jan 2013 02:19:47 +0000 (18:19 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 10 Jan 2013 02:19:47 +0000 (18:19 -0800)
src/lib/dns/master_lexer_inputsource.h

index 85b12e0675609fdb6566856ff76a215aabd46952..793505954d75b79a194ab9acd422ad0cd22dd63b 100644 (file)
@@ -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