INTEGRATION: CWS os108 (1.4.60); FILE MERGED
2007/11/19 15:25:14 mst 1.4.60.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
09e0b95e37
commit
55f1443f26
2 changed files with 17 additions and 17 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: entityreference.hxx,v $
|
||||
*
|
||||
* $Revision: 1.5 $
|
||||
* $Revision: 1.6 $
|
||||
*
|
||||
* last change: $Author: ihi $ $Date: 2007-11-19 16:44:17 $
|
||||
* last change: $Author: vg $ $Date: 2007-12-06 11:00:30 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -62,7 +62,7 @@ namespace DOM
|
|||
throw (RuntimeException);
|
||||
// --- delegation for XNde base.
|
||||
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
|
||||
throw (DOMException)
|
||||
throw (RuntimeException, DOMException)
|
||||
{
|
||||
return CNode::appendChild(newChild);
|
||||
}
|
||||
|
@ -143,7 +143,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);
|
||||
}
|
||||
|
@ -158,23 +158,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 CNode::setNodeValue(nodeValue);
|
||||
}
|
||||
virtual void SAL_CALL setPrefix(const OUString& prefix)
|
||||
throw (DOMException)
|
||||
throw (RuntimeException, DOMException)
|
||||
{
|
||||
return CNode::setPrefix(prefix);
|
||||
}
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: processinginstruction.hxx,v $
|
||||
*
|
||||
* $Revision: 1.5 $
|
||||
* $Revision: 1.6 $
|
||||
*
|
||||
* last change: $Author: ihi $ $Date: 2007-11-19 16:45:23 $
|
||||
* last change: $Author: vg $ $Date: 2007-12-06 11:01:37 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -68,7 +68,7 @@ namespace DOM
|
|||
/**
|
||||
The content of this processing instruction.
|
||||
*/
|
||||
virtual void SAL_CALL setData(const OUString& data) throw (DOMException);
|
||||
virtual void SAL_CALL setData(const OUString& data) throw (RuntimeException, DOMException);
|
||||
|
||||
// ---- resolve uno inheritance problems...
|
||||
// overrides for XNode base
|
||||
|
@ -78,7 +78,7 @@ namespace DOM
|
|||
throw (RuntimeException);
|
||||
// --- delegation for XNde base.
|
||||
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
|
||||
throw (DOMException)
|
||||
throw (RuntimeException, DOMException)
|
||||
{
|
||||
return CNode::appendChild(newChild);
|
||||
}
|
||||
|
@ -159,7 +159,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);
|
||||
}
|
||||
|
@ -174,23 +174,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 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