You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2002/07/15 23:53:25 UTC

cvs commit: xml-xerces/c/src/xercesc/util/Platforms/MacOS MacOSPlatformUtils.cpp

peiyongz    2002/07/15 14:53:25

  Modified:    c/src/xercesc/util/Platforms/MacOS MacOSPlatformUtils.cpp
  Log:
  CouldNotWriteToFile
  
  Revision  Changes    Path
  1.7       +3 -5      xml-xerces/c/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.cpp
  
  Index: MacOSPlatformUtils.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MacOSPlatformUtils.cpp	12 Jul 2002 16:48:49 -0000	1.6
  +++ MacOSPlatformUtils.cpp	15 Jul 2002 21:53:25 -0000	1.7
  @@ -456,8 +456,7 @@
   
       if (!mFileValid)
       {
  -        ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotReadFromFile);
  -        //ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotWriteToFile);
  +        ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotWriteToFile);
       }
   
       if (gHasHFSPlusAPIs)
  @@ -475,8 +474,7 @@
   
       if ((err != noErr && err != eofErr) || (bytesWritten != byteCount))
       {
  -        ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotReadFromFile);
  -        //ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotWriteToFile);
  +        ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotWriteToFile);
       }
   }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org