Kaydet (Commit) 563cdc14 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS os108 (1.8.40); FILE MERGED

2007/11/19 15:25:14 mst 1.8.40.1: - uno/xml/source/dom/*.{hc}xx:
  add RuntimeException to exception specifications of 172 methods
  of the DOM implementation where it was missing; fixes #i83675#
üst e73989ea
......@@ -4,9 +4,9 @@
*
* $RCSfile: node.hxx,v $
*
* $Revision: 1.9 $
* $Revision: 1.10 $
*
* last change: $Author: ihi $ $Date: 2007-11-19 16:44:41 $
* last change: $Author: vg $ $Date: 2007-12-06 11:00:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -114,7 +114,7 @@ namespace DOM
Adds the node newChild to the end of the list of children of this node.
*/
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
Returns a duplicate of this node, i.e., serves as a generic copy
......@@ -227,7 +227,7 @@ namespace DOM
*/
virtual Reference< XNode > SAL_CALL insertBefore(
const Reference< XNode >& newChild, const Reference< XNode >& refChild)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
Tests whether the DOM implementation implements a specific feature and
......@@ -251,7 +251,7 @@ namespace DOM
and returns it.
*/
virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
Replaces the child node oldChild with newChild in the list of children,
......@@ -259,19 +259,19 @@ namespace DOM
*/
virtual Reference< XNode > SAL_CALL replaceChild(
const Reference< XNode >& newChild, const Reference< XNode >& oldChild)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
The value of this node, depending on its type; see the table above.
*/
virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
The namespace prefix of this node, or null if it is unspecified.
*/
virtual void SAL_CALL setPrefix(const OUString& prefix)
throw (DOMException);
throw (RuntimeException, DOMException);
// --- XUnoTunnel
......@@ -289,7 +289,7 @@ namespace DOM
throw (RuntimeException);
virtual sal_Bool SAL_CALL dispatchEvent(const Reference< XEvent >& evt)
throw(EventException);
throw(RuntimeException, EventException);
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment