X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2FChanges;h=642e35dca820b101b198daf8e2f7f862ff98ea90;hb=cab0bf4857384ead5b39b3f79d8309fefa62a166;hp=266869a8fbc8dda479fe43eab14446a0df2abdf6;hpb=8e0f7888835eb1a84882b440209ec125ce5856c1;p=yazpp-moved-to-github.git diff --git a/zoom/Changes b/zoom/Changes index 266869a..642e35d 100644 --- a/zoom/Changes +++ b/zoom/Changes @@ -1,3 +1,5 @@ +$Header: /home/cvsroot/yaz++/zoom/Attic/Changes,v 1.5 2002-11-04 23:08:49 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,7 @@ expect to become version 1.3a of the official specification.) -- -Add #include for size_t - -Add comment about G++'s rejection of throw(ZOOM:error) clause +Add #include for size_t. Add destructor declaration to connection class. @@ -21,18 +21,22 @@ an UNKNOWN element. Remove "virtual" from all the record class's methods, including its destructor, since we no longer expect to derive record subclasses representing records expressed in specific record-syntaxes -- see -version 1.3 of the ZOOM AAPI. +section ### of version 1.3 of the ZOOM AAPI. Remove the nfields() and field() methods from the record class -- -again, see v1.3 of the AAPI. +see section ### of v1.3 of the AAPI. + +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 way v1.3 of the AAPI is going. -Add some substance to the error base class: it can now be created +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.