tng 2002/12/06 08:42:13 Modified: c/src/xercesc/util/NetAccessors/libWWW BinURLInputStream.cpp Log: Fix the error messages thrown from net accessor module. Revision Changes Path 1.3 +5 -4 xml-xerces/c/src/xercesc/util/NetAccessors/libWWW/BinURLInputStream.cpp Index: BinURLInputStream.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/NetAccessors/libWWW/BinURLInputStream.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- BinURLInputStream.cpp 4 Nov 2002 15:11:39 -0000 1.2 +++ BinURLInputStream.cpp 6 Dec 2002 16:42:13 -0000 1.3 @@ -56,6 +56,9 @@ /** * $Log$ + * Revision 1.3 2002/12/06 16:42:13 tng + * Fix the error messages thrown from net accessor module. + * * Revision 1.2 2002/11/04 15:11:39 tng * C++ Namespace Support. * @@ -191,8 +194,7 @@ HTResponse * response = HTRequest_response (request); fRemoteFileSize = HTResponse_length(response); if (fRemoteFileSize < 0) { - ThrowXML1(NetAccessorException, XMLExcepts::NetAcc_InternalError, - "Cannot determine length of remote file."); + ThrowXML(NetAccessorException, XMLExcepts::NetAcc_LengthError); } } @@ -203,8 +205,7 @@ if (status == NO) { - ThrowXML1(NetAccessorException, XMLExcepts::NetAcc_InternalError, - "Cannot determine length of remote file."); + ThrowXML(NetAccessorException, XMLExcepts::NetAcc_LengthError); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]