dbertoni    2003/02/26 13:48:40

  Modified:    c/src/XalanSourceTree XalanSourceTreeDocument.cpp
                        XalanSourceTreeElement.cpp
  Log:
  Throw not-supported exception when appropriate.
  
  Revision  Changes    Path
  1.38      +3 -1      xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp
  
  Index: XalanSourceTreeDocument.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- XalanSourceTreeDocument.cpp       25 Feb 2003 21:54:07 -0000      1.37
  +++ XalanSourceTreeDocument.cpp       26 Feb 2003 21:48:40 -0000      1.38
  @@ -567,7 +567,9 @@
                        const XalanDOMString&   /* namespaceURI */,
                        const XalanDOMString&   /* localName */) const
   {
  -     // Not supported
  +     throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
  +
  +     // Dummy return value...
        return 0;
   }
   
  
  
  
  1.12      +3 -0      xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElement.cpp
  
  Index: XalanSourceTreeElement.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElement.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XalanSourceTreeElement.cpp        25 Feb 2003 21:54:07 -0000      1.11
  +++ XalanSourceTreeElement.cpp        26 Feb 2003 21:48:40 -0000      1.12
  @@ -418,6 +418,9 @@
                        const XalanDOMString&   /* namespaceURI */,
                        const XalanDOMString&   /* localName */) const
   {
  +     throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
  +
  +     // Dummy return value...
        return 0;
   }
   
  
  
  

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

Reply via email to