INTEGRATION: CWS os108 (1.7.40); FILE MERGED
2007/11/19 15:25:13 mst 1.7.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#
This commit is contained in:
parent
8b6fe62975
commit
f9c83d3ac5
1 changed files with 16 additions and 18 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: document.hxx,v $
|
||||
*
|
||||
* $Revision: 1.8 $
|
||||
* $Revision: 1.9 $
|
||||
*
|
||||
* last change: $Author: ihi $ $Date: 2007-11-19 16:42:39 $
|
||||
* last change: $Author: vg $ $Date: 2007-12-06 11:17:51 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -66,9 +66,6 @@ using namespace com::sun::star::xml::dom::events;
|
|||
|
||||
namespace DOM
|
||||
{
|
||||
|
||||
|
||||
|
||||
class CDocument : public cppu::ImplInheritanceHelper4<
|
||||
CNode, XDocument, XDocumentEvent, XActiveDataControl, XActiveDataSource >
|
||||
{
|
||||
|
@ -97,13 +94,13 @@ namespace DOM
|
|||
Creates an Attr of the given name.
|
||||
*/
|
||||
virtual Reference< XAttr > SAL_CALL createAttribute(const OUString& name)
|
||||
throw (DOMException);
|
||||
throw (RuntimeException, DOMException);
|
||||
|
||||
/**
|
||||
Creates an attribute of the given qualified name and namespace URI.
|
||||
*/
|
||||
virtual Reference< XAttr > SAL_CALL createAttributeNS(const OUString& namespaceURI, const OUString& qualifiedName)
|
||||
throw (DOMException);
|
||||
throw (RuntimeException, DOMException);
|
||||
|
||||
/**
|
||||
Creates a CDATASection node whose value is the specified string.
|
||||
|
@ -127,19 +124,19 @@ namespace DOM
|
|||
Creates an element of the type specified.
|
||||
*/
|
||||
virtual Reference< XElement > SAL_CALL createElement(const OUString& tagName)
|
||||
throw (DOMException);
|
||||
throw (RuntimeException, DOMException);
|
||||
|
||||
/**
|
||||
Creates an element of the given qualified name and namespace URI.
|
||||
*/
|
||||
virtual Reference< XElement > SAL_CALL createElementNS(const OUString& namespaceURI, const OUString& qualifiedName)
|
||||
throw (DOMException);
|
||||
throw (RuntimeException, DOMException);
|
||||
|
||||
/**
|
||||
Creates an EntityReference object.
|
||||
*/
|
||||
virtual Reference< XEntityReference > SAL_CALL createEntityReference(const OUString& name)
|
||||
throw (DOMException);
|
||||
throw (RuntimeException, DOMException);
|
||||
|
||||
/**
|
||||
Creates a ProcessingInstruction node given the specified name and
|
||||
|
@ -147,7 +144,7 @@ namespace DOM
|
|||
*/
|
||||
virtual Reference< XProcessingInstruction > SAL_CALL createProcessingInstruction(
|
||||
const OUString& target, const OUString& data)
|
||||
throw (DOMException);
|
||||
throw (RuntimeException, DOMException);
|
||||
|
||||
/**
|
||||
Creates a Text node given the specified string.
|
||||
|
@ -201,7 +198,7 @@ namespace DOM
|
|||
Imports a node from another document to this document.
|
||||
*/
|
||||
virtual Reference< XNode > SAL_CALL importNode(const Reference< XNode >& importedNode, sal_Bool deep)
|
||||
throw (DOMException);
|
||||
throw (RuntimeException, DOMException);
|
||||
|
||||
// XDocumentEvent
|
||||
virtual Reference< XEvent > SAL_CALL createEvent(const OUString& eventType) throw (RuntimeException);
|
||||
|
@ -224,9 +221,9 @@ namespace DOM
|
|||
throw (RuntimeException);
|
||||
virtual OUString SAL_CALL getNodeValue()
|
||||
throw (RuntimeException);
|
||||
// --- delegation for XNode base.
|
||||
// --- delegation for XNde base.
|
||||
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
|
||||
throw (DOMException)
|
||||
throw (RuntimeException, DOMException)
|
||||
{
|
||||
return CNode::appendChild(newChild);
|
||||
}
|
||||
|
@ -322,27 +319,28 @@ namespace DOM
|
|||
CNode::normalize();
|
||||
}
|
||||
virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild)
|
||||
throw (DOMException)
|
||||
throw (RuntimeException, DOMException)
|
||||
{
|
||||
return CNode::removeChild(oldChild);
|
||||
}
|
||||
virtual Reference< XNode > SAL_CALL replaceChild(
|
||||
const Reference< XNode >& newChild, const Reference< XNode >& oldChild)
|
||||
throw (DOMException)
|
||||
throw (RuntimeException, DOMException)
|
||||
{
|
||||
return CNode::replaceChild(newChild, oldChild);
|
||||
}
|
||||
virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
|
||||
throw (DOMException)
|
||||
throw (RuntimeException, DOMException)
|
||||
{
|
||||
return CNode::setNodeValue(nodeValue);
|
||||
}
|
||||
virtual void SAL_CALL setPrefix(const OUString& prefix)
|
||||
throw (DOMException)
|
||||
throw (RuntimeException, DOMException)
|
||||
{
|
||||
return CNode::setPrefix(prefix);
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue