X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzrs.cpp;h=3ccce513d9e391dada3231abc9f67e8c419657b9;hb=6f5ccb50083cdd9e1fd3dd136f22751f24c5839e;hp=39d042296409ea45dc5c78b3d4f9261f90f3597a;hpb=8e0f7888835eb1a84882b440209ec125ce5856c1;p=yazpp-moved-to-github.git diff --git a/zoom/zrs.cpp b/zoom/zrs.cpp index 39d0422..3ccce51 100644 --- a/zoom/zrs.cpp +++ b/zoom/zrs.cpp @@ -1,8 +1,8 @@ -// $Header: /home/cvsroot/yaz++/zoom/zrs.cpp,v 1.1 2002-08-08 13:31:54 mike Exp $ +// $Header: /home/cvsroot/yaz++/zoom/zrs.cpp,v 1.3 2002-10-09 09:07:10 mike Exp $ // Z39.50 Result Set class -#include "zoom++.h" +#include "zoom.h" namespace ZOOM { @@ -14,7 +14,7 @@ namespace ZOOM { const char *addinfo; if ((errcode = ZOOM_connection_error(yazc, &errmsg, &addinfo)) != 0) { - throw bib1Error(errcode, addinfo); + throw bib1Exception(errcode, addinfo); } } @@ -44,7 +44,7 @@ namespace ZOOM { const char *addinfo; int errcode = ZOOM_connection_error(owner._getYazConnection(), &errmsg, &addinfo); - throw bib1Error(errcode, addinfo); + throw bib1Exception(errcode, addinfo); } // Memory management is odd here. The ZOOM-C record we've