[Xapian-tickets] [Xapian] #542: Missing exception docs on Database::get_document()
Xapian
nobody at xapian.org
Mon Mar 28 15:39:17 BST 2011
#542: Missing exception docs on Database::get_document()
----------------------+-----------------------------------------------------
Reporter: kamstrup | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Other | Version:
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
----------------------+-----------------------------------------------------
The docs for Database::get_document() states that it can only throw
Xapian::!DocNotFoundError but fact is that it will also throw
Xapian::!InvalidArgumentError if docid==0. See fx. api/omdatabase.cc line
442.
--
Ticket URL: <http://trac.xapian.org/ticket/542>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list