X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2FChanges;h=dfdbabcad0656ae343ff4f4b047f7aaf2d18d7e4;hb=7b9c683505fd79972d6f3d397ac1c6e9040d2110;hp=266869a8fbc8dda479fe43eab14446a0df2abdf6;hpb=8e0f7888835eb1a84882b440209ec125ce5856c1;p=yazpp-moved-to-github.git diff --git a/zoom/Changes b/zoom/Changes index 266869a..dfdbabc 100644 --- a/zoom/Changes +++ b/zoom/Changes @@ -1,3 +1,5 @@ +$Header: /home/cvsroot/yaz++/zoom/Attic/Changes,v 1.4 2002-10-08 23:54:55 mike Exp $ + Changes between the current version of the C++ binding specification (http://zoom.z3950.org/bind/cplusplus/zoom-1.0g.hh) and the specification generated in "interface.h" in this directory (which I @@ -5,9 +7,9 @@ expect to become version 1.3a of the official specification.) -- -Add #include for size_t +Add #include for size_t. -Add comment about G++'s rejection of throw(ZOOM:error) clause +Add comment about G++'s rejection of throw(ZOOM:exception) clause. Add destructor declaration to connection class. @@ -26,13 +28,17 @@ version 1.3 of the ZOOM AAPI. Remove the nfields() and field() methods from the record class -- again, see v1.3 of the AAPI. -Add some substance to the error base class: it can now be created +Rename the error class to exception, and its subclasses likewise. I +think that's Telling It Like It Is, and it's certainly more in tune +with the was v1.3 of the AAPI is going. + +Add some substance to the exception base class: it can now be created (with an error-code specified), and the error-code may be both fetched and rendered as a human-readable string. This is necessary so that -it's possible to meaningfully catch(error e). +it's possible to meaningfully catch(exception& e). -Add the missing char *errmsg() method to the systemError and bib1Error -classes. +Add the missing char *errmsg() method to the systemException and +bib1Exception classes. -Add a new error subclass, queryError, for reporting malformed query -strings etc. +Add a new exception subclass, queryException, for reporting malformed +query strings etc.