cargilld 2004/12/06 03:55:38
Modified: c/samples/MemParse MemParseHandlers.hpp
c/samples/PSVIWriter PSVIWriterHandlers.hpp
c/tests/ThreadTest ThreadTest.cpp
c/tests/XSerializerTest XSerializerHandlers.hpp
Log:
Rename parameter named exception to get rid of warning msgs.
Revision Changes Path
1.8 +6 -3 xml-xerces/c/samples/MemParse/MemParseHandlers.hpp
Index: MemParseHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/MemParse/MemParseHandlers.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- MemParseHandlers.hpp 8 Sep 2004 13:55:32 -0000 1.7
+++ MemParseHandlers.hpp 6 Dec 2004 11:55:37 -0000 1.8
@@ -16,6 +16,9 @@
/*
* $Log$
+ * Revision 1.8 2004/12/06 11:55:37 cargilld
+ * Rename parameter named exception to get rid of warning msgs.
+ *
* Revision 1.7 2004/09/08 13:55:32 peiyongz
* Apache License Version 2.0
*
@@ -103,9 +106,9 @@
//
-----------------------------------------------------------------------
// Handlers for the SAX ErrorHandler interface
//
-----------------------------------------------------------------------
- void warning(const SAXParseException& exception);
- void error(const SAXParseException& exception);
- void fatalError(const SAXParseException& exception);
+ void warning(const SAXParseException& exc);
+ void error(const SAXParseException& exc);
+ void fatalError(const SAXParseException& exc);
1.9 +3 -3 xml-xerces/c/samples/PSVIWriter/PSVIWriterHandlers.hpp
Index: PSVIWriterHandlers.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/PSVIWriter/PSVIWriterHandlers.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- PSVIWriterHandlers.hpp 28 Sep 2004 10:59:31 -0000 1.8
+++ PSVIWriterHandlers.hpp 6 Dec 2004 11:55:37 -0000 1.9
@@ -132,9 +132,9 @@
//
-----------------------------------------------------------------------
// Handlers for the SAX ErrorHandler interface
//
-----------------------------------------------------------------------
- void warning(const SAXParseException& exception);
- void error(const SAXParseException& exception);
- void fatalError(const SAXParseException& exception);
+ void warning(const SAXParseException& exc);
+ void error(const SAXParseException& exc);
+ void fatalError(const SAXParseException& exc);
void resetErrors();
//
-----------------------------------------------------------------------
1.36 +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.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ThreadTest.cpp 8 Sep 2004 13:57:05 -0000 1.35
+++ ThreadTest.cpp 6 Dec 2004 11:55:38 -0000 1.36
@@ -354,19 +354,19 @@
void resetDocument() {
};
- void warning(const SAXParseException& exception) {
+ void warning(const SAXParseException& exc) {
fprintf(stderr, "*** Warning ");
fflush(stderr);
throw exception;
};
- void error(const SAXParseException& exception) {
+ void error(const SAXParseException& exc) {
fprintf(stderr, "*** Error ");
fflush(stderr);
throw exception;
};
- void fatalError(const SAXParseException& exception) {
+ void fatalError(const SAXParseException& exc) {
fprintf(stderr, "***** Fatal error ");
fflush(stderr);
throw exception;
1.3 +7 -4
xml-xerces/c/tests/XSerializerTest/XSerializerHandlers.hpp
Index: XSerializerHandlers.hpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/tests/XSerializerTest/XSerializerHandlers.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XSerializerHandlers.hpp 8 Sep 2004 13:57:07 -0000 1.2
+++ XSerializerHandlers.hpp 6 Dec 2004 11:55:38 -0000 1.3
@@ -17,6 +17,9 @@
/*
* $Id$
* $Log$
+ * Revision 1.3 2004/12/06 11:55:38 cargilld
+ * Rename parameter named exception to get rid of warning msgs.
+ *
* Revision 1.2 2004/09/08 13:57:07 peiyongz
* Apache License Version 2.0
*
@@ -88,9 +91,9 @@
//
-----------------------------------------------------------------------
// Handlers for the SAX ErrorHandler interface
//
-----------------------------------------------------------------------
- void warning(const SAXParseException& exception);
- void error(const SAXParseException& exception);
- void fatalError(const SAXParseException& exception);
+ void warning(const SAXParseException& exc);
+ void error(const SAXParseException& exc);
+ void fatalError(const SAXParseException& exc);
void resetErrors();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]