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:
Vladimir Glazounov 2007-12-06 09:58:52 +00:00
parent df8c95d5a3
commit 64187d651f

View file

@ -4,9 +4,9 @@
*
* $RCSfile: characterdata.hxx,v $
*
* $Revision: 1.8 $
* $Revision: 1.9 $
*
* last change: $Author: ihi $ $Date: 2007-11-19 16:41:31 $
* last change: $Author: vg $ $Date: 2007-12-06 10:58:52 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -67,13 +67,13 @@ namespace DOM
Append the string to the end of the character data of the node.
*/
virtual void SAL_CALL appendData(const OUString& arg)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
Remove a range of 16-bit units from the node.
*/
virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
Return the character data of the node that implements this interface.
@ -90,30 +90,30 @@ namespace DOM
Insert a string at the specified 16-bit unit offset.
*/
virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
Replace the characters starting at the specified 16-bit unit offset
with the specified string.
*/
virtual void SAL_CALL replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
Set the character data of the node that implements this interface.
*/
virtual void SAL_CALL setData(const OUString& data)
throw (DOMException);
throw (RuntimeException, DOMException);
/**
Extracts a range of data from the node.
*/
virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count)
throw (DOMException);
throw (RuntimeException, DOMException);
// --- delegation for XNode base.
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
throw (DOMException)
throw (RuntimeException, DOMException)
{
return CNode::appendChild(newChild);
}
@ -204,7 +204,7 @@ namespace DOM
}
virtual Reference< XNode > SAL_CALL insertBefore(
const Reference< XNode >& newChild, const Reference< XNode >& refChild)
throw (DOMException)
throw (RuntimeException, DOMException)
{
return CNode::insertBefore(newChild, refChild);
}
@ -219,23 +219,23 @@ 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 setData(nodeValue);
}
virtual void SAL_CALL setPrefix(const OUString& prefix)
throw (DOMException)
throw (RuntimeException, DOMException)
{
return CNode::setPrefix(prefix);
}