dbertoni    2004/02/09 11:27:30

  Modified:    c/src/xalanc/XPath XObject.cpp XObject.hpp
                        XPathParserException.cpp XalanXPathException.cpp
                        XalanXPathException.hpp
  Log:
  Removed unused data member from exception hierarchy.
  
  Revision  Changes    Path
  1.6       +1 -3      xml-xalan/c/src/xalanc/XPath/XObject.cpp
  
  Index: XObject.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XPath/XObject.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XObject.cpp       6 Jan 2004 02:41:32 -0000       1.5
  +++ XObject.cpp       9 Feb 2004 19:27:30 -0000       1.6
  @@ -1160,9 +1160,8 @@
   
   XObject::XObjectException::XObjectException(
                                const XalanDOMString&   message,
  -                             const XalanNode*                styleNode,
                                const XalanDOMString&   theType) :
  -     XalanXPathException(message, styleNode, theType)
  +     XalanXPathException(message, theType)
   {
   }
   
  @@ -1179,7 +1178,6 @@
                                const XalanDOMString&   toType) :
        XObjectException(
                        formatErrorString(fromType, toType),
  -                     0,
                        
StaticStringToDOMString(XALAN_STATIC_UCODE_STRING("XObjectInvalidConversionException"))),
        m_fromType(fromType),
        m_toType(toType)
  
  
  
  1.5       +0 -1      xml-xalan/c/src/xalanc/XPath/XObject.hpp
  
  Index: XObject.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XPath/XObject.hpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XObject.hpp       6 Jan 2004 02:41:32 -0000       1.4
  +++ XObject.hpp       9 Feb 2004 19:27:30 -0000       1.5
  @@ -524,7 +524,6 @@
                explicit
                XObjectException(
                                const XalanDOMString&   message = 
XalanDOMString(),
  -                             const XalanNode*                styleNode = 0,
                                const XalanDOMString&   theType = 
XalanDOMString(XALAN_STATIC_UCODE_STRING("XObjectException")));
   
                virtual
  
  
  
  1.4       +3 -3      xml-xalan/c/src/xalanc/XPath/XPathParserException.cpp
  
  Index: XPathParserException.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XPath/XPathParserException.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XPathParserException.cpp  6 Jan 2004 02:41:32 -0000       1.3
  +++ XPathParserException.cpp  9 Feb 2004 19:27:30 -0000       1.4
  @@ -70,7 +70,7 @@
                        int                                             
theLineNumber,
                        int                                             
theColumnNumber,
                        const XalanDOMString&   theType) :
  -     XalanXPathException(message, theURI, theLineNumber, theColumnNumber, 0, 
theType)
  +     XalanXPathException(message, theURI, theLineNumber, theColumnNumber, 
theType)
   {
   }
   
  @@ -80,7 +80,7 @@
                        const LocatorType&              theLocator,
                        const XalanDOMString&   theMessage,
                        const XalanDOMString&   theType) :
  -     XalanXPathException(theLocator, theMessage, 0, theType)
  +     XalanXPathException(theLocator, theMessage, theType)
   {
   }
   
  @@ -89,7 +89,7 @@
   XPathParserException::XPathParserException(
                        const XalanDOMString&   message,
                        const XalanDOMString&   theType) :
  -     XalanXPathException(message, 0, theType)
  +     XalanXPathException(message, theType)
   {
   }
   
  
  
  
  1.4       +3 -9      xml-xalan/c/src/xalanc/XPath/XalanXPathException.cpp
  
  Index: XalanXPathException.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XPath/XalanXPathException.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XalanXPathException.cpp   6 Jan 2004 02:41:32 -0000       1.3
  +++ XalanXPathException.cpp   9 Feb 2004 19:27:30 -0000       1.4
  @@ -72,10 +72,8 @@
                        const XalanDOMString&   theURI,
                        int                                             
theLineNumber,
                        int                                             
theColumnNumber,
  -                     const XalanNode*                styleNode,
                        const XalanDOMString&   theType) :
  -     XSLException(message, theURI, theLineNumber, theColumnNumber, theType),
  -     m_styleNode(styleNode)
  +     XSLException(message, theURI, theLineNumber, theColumnNumber, theType)
   {
   }
   
  @@ -83,10 +81,8 @@
   
   XalanXPathException::XalanXPathException(
                        const XalanDOMString&   message,
  -                     const XalanNode*                styleNode,
                        const XalanDOMString&   theType) :
  -     XSLException(message, theType),
  -     m_styleNode(styleNode)
  +     XSLException(message, theType)
   {
   }
   
  @@ -95,10 +91,8 @@
   XalanXPathException::XalanXPathException(
                        const LocatorType&              theLocator,
                        const XalanDOMString&   theMessage,
  -                     const XalanNode*                styleNode,
                        const XalanDOMString&   theType) :
  -     XSLException(theLocator, theMessage, theType),
  -     m_styleNode(styleNode)
  +     XSLException(theLocator, theMessage, theType)
   {
   }
   
  
  
  
  1.4       +0 -10     xml-xalan/c/src/xalanc/XPath/XalanXPathException.hpp
  
  Index: XalanXPathException.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XPath/XalanXPathException.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XalanXPathException.hpp   6 Jan 2004 02:41:32 -0000       1.3
  +++ XalanXPathException.hpp   9 Feb 2004 19:27:30 -0000       1.4
  @@ -101,7 +101,6 @@
                        const XalanDOMString&   theURI,
                        int                                             
theLineNumber,
                        int                                             
theColumnNumber,
  -                     const XalanNode*                styleNode = 0,
                        const XalanDOMString&   theType = 
XalanDOMString(XALAN_STATIC_UCODE_STRING("XalanXPathException")));
   
        /**
  @@ -115,29 +114,20 @@
        XalanXPathException(
                        const LocatorType&              theLocator,
                        const XalanDOMString&   theMessage,
  -                     const XalanNode*                styleNode = 0,
                        const XalanDOMString&   theType = 
XalanDOMString(XALAN_STATIC_UCODE_STRING("XalanXPathException")));
   
        /**
         * Construct an XPath exeption object.
         * 
         * @param message message explaining the problem. 
  -      * @param styleNode the node in the stylesheet where the problem 
occurred
         * @param theType type of exception, default is "XalanXPathException"
         */
        XalanXPathException(
                        const XalanDOMString&   message,
  -                     const XalanNode*                styleNode = 0,
                        const XalanDOMString&   theType = 
XalanDOMString(XALAN_STATIC_UCODE_STRING("XalanXPathException")));
   
        virtual
        ~XalanXPathException();
  -
  -     const XalanNode*
  -     getStyleNode() const
  -     {
  -             return m_styleNode;
  -     }
   
   protected:
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to