You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2004/12/06 13:14:01 UTC

cvs commit: xml-xerces/c/tests/ThreadTest ThreadTest.cpp

cargilld    2004/12/06 04:14:00

  Modified:    c/tests/ThreadTest ThreadTest.cpp
  Log:
  Rename parameter named exception to get rid of warning msgs.
  
  Revision  Changes    Path
  1.37      +4 -4      xml-xerces/c/tests/ThreadTest/ThreadTest.cpp
  
  Index: ThreadTest.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/ThreadTest/ThreadTest.cpp,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- ThreadTest.cpp	6 Dec 2004 11:55:38 -0000	1.36
  +++ ThreadTest.cpp	6 Dec 2004 12:14:00 -0000	1.37
  @@ -357,19 +357,19 @@
       void warning(const SAXParseException& exc)     {
           fprintf(stderr, "*** Warning ");
           fflush(stderr);
  -        throw exception;
  +        throw exc;
       };
   
       void error(const SAXParseException& exc)       {
           fprintf(stderr, "*** Error ");
           fflush(stderr);
  -        throw exception;
  +        throw exc;
       };
   
       void fatalError(const SAXParseException& exc)  {
           fprintf(stderr, "***** Fatal error ");
           fflush(stderr);
  -        throw exception;
  +        throw exc;
       };
   
       // Create a nested class that can inherit from HandlerBase
  
  
  

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