/cppu/

labora/co-24.04.4'>distro/collabora/co-24.04.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /unoxml
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/attr.cxx22
-rw-r--r--unoxml/source/dom/attr.hxx60
-rw-r--r--unoxml/source/dom/attributesmap.cxx16
-rw-r--r--unoxml/source/dom/attributesmap.hxx16
-rw-r--r--unoxml/source/dom/cdatasection.cxx4
-rw-r--r--unoxml/source/dom/cdatasection.hxx68
-rw-r--r--unoxml/source/dom/characterdata.cxx16
-rw-r--r--unoxml/source/dom/characterdata.hxx66
-rw-r--r--unoxml/source/dom/childlist.cxx4
-rw-r--r--unoxml/source/dom/childlist.hxx4
-rw-r--r--unoxml/source/dom/comment.cxx4
-rw-r--r--unoxml/source/dom/comment.hxx66
-rw-r--r--unoxml/source/dom/document.cxx58
-rw-r--r--unoxml/source/dom/document.hxx102
-rw-r--r--unoxml/source/dom/documentbuilder.cxx24
-rw-r--r--unoxml/source/dom/documentbuilder.hxx22
-rw-r--r--unoxml/source/dom/documentfragment.cxx4
-rw-r--r--unoxml/source/dom/documentfragment.hxx50
-rw-r--r--unoxml/source/dom/documenttype.cxx16
-rw-r--r--unoxml/source/dom/documenttype.hxx62
-rw-r--r--unoxml/source/dom/domimplementation.cxx6
-rw-r--r--unoxml/source/dom/domimplementation.hxx6
-rw-r--r--unoxml/source/dom/element.cxx40
-rw-r--r--unoxml/source/dom/element.hxx82
-rw-r--r--unoxml/source/dom/elementlist.cxx6
-rw-r--r--unoxml/source/dom/elementlist.hxx6
-rw-r--r--unoxml/source/dom/entitiesmap.cxx16
-rw-r--r--unoxml/source/dom/entitiesmap.hxx16
-rw-r--r--unoxml/source/dom/entity.cxx10
-rw-r--r--unoxml/source/dom/entity.hxx56
-rw-r--r--unoxml/source/dom/entityreference.cxx4
-rw-r--r--unoxml/source/dom/entityreference.hxx50
-rw-r--r--unoxml/source/dom/node.cxx58
-rw-r--r--unoxml/source/dom/node.hxx58
-rw-r--r--unoxml/source/dom/notation.cxx8
-rw-r--r--unoxml/source/dom/notation.hxx54
-rw-r--r--unoxml/source/dom/notationsmap.cxx16
-rw-r--r--unoxml/source/dom/notationsmap.hxx16
-rw-r--r--unoxml/source/dom/processinginstruction.cxx12
-rw-r--r--unoxml/source/dom/processinginstruction.hxx56
-rw-r--r--unoxml/source/dom/saxbuilder.cxx34
-rw-r--r--unoxml/source/dom/saxbuilder.hxx34
-rw-r--r--unoxml/source/dom/text.cxx4
-rw-r--r--unoxml/source/dom/text.hxx68
-rw-r--r--unoxml/source/events/event.cxx20
-rw-r--r--unoxml/source/events/event.hxx20
-rw-r--r--unoxml/source/events/mouseevent.cxx48
-rw-r--r--unoxml/source/events/mouseevent.hxx48
-rw-r--r--unoxml/source/events/mutationevent.cxx32
-rw-r--r--unoxml/source/events/mutationevent.hxx32
-rw-r--r--unoxml/source/events/testlistener.cxx10
-rw-r--r--unoxml/source/events/testlistener.hxx10
-rw-r--r--unoxml/source/events/uievent.cxx26
-rw-r--r--unoxml/source/events/uievent.hxx26
-rw-r--r--unoxml/source/rdf/CBlankNode.cxx20
-rw-r--r--unoxml/source/rdf/CLiteral.cxx32
-rw-r--r--unoxml/source/rdf/CURI.cxx28
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx128
-rw-r--r--unoxml/source/xpath/nodelist.cxx4
-rw-r--r--unoxml/source/xpath/nodelist.hxx4
-rw-r--r--unoxml/source/xpath/xpathapi.cxx26
-rw-r--r--unoxml/source/xpath/xpathapi.hxx26
-rw-r--r--unoxml/source/xpath/xpathobject.cxx20
-rw-r--r--unoxml/source/xpath/xpathobject.hxx20
64 files changed, 990 insertions, 990 deletions
diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx
index 4eaa92216056..44c6d1e2726f 100644
--- a/unoxml/source/dom/attr.cxx
+++ b/unoxml/source/dom/attr.cxx
@@ -74,17 +74,17 @@ namespace DOM
}
OUString SAL_CALL CAttr::getNodeName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return getName();
}
OUString SAL_CALL CAttr::getNodeValue()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return getValue();
}
OUString SAL_CALL CAttr::getLocalName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return getName();
}
@@ -93,7 +93,7 @@ namespace DOM
/**
Returns the name of this attribute.
*/
- OUString SAL_CALL CAttr::getName() throw (RuntimeException)
+ OUString SAL_CALL CAttr::getName() throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -110,7 +110,7 @@ namespace DOM
attribute is not in use.
*/
Reference< XElement > SAL_CALL CAttr::getOwnerElement()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -132,7 +132,7 @@ namespace DOM
document, this is true; otherwise, it is false.
*/
sal_Bool SAL_CALL CAttr::getSpecified()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
// FIXME if this DOM implemenatation supported DTDs it would need
// to check that this attribute is not default or something
@@ -143,7 +143,7 @@ namespace DOM
On retrieval, the value of the attribute is returned as a string.
*/
OUString SAL_CALL CAttr::getValue()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -164,7 +164,7 @@ namespace DOM
Sets the value of the attribute from a string.
*/
void SAL_CALL CAttr::setValue(const OUString& value)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::ClearableMutexGuard guard(m_rMutex);
@@ -212,7 +212,7 @@ namespace DOM
}
void SAL_CALL CAttr::setPrefix(const OUString& prefix)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -228,7 +228,7 @@ namespace DOM
}
OUString SAL_CALL CAttr::getPrefix()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -245,7 +245,7 @@ namespace DOM
}
OUString SAL_CALL CAttr::getNamespaceURI()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
diff --git a/unoxml/source/dom/attr.hxx b/unoxml/source/dom/attr.hxx
index c00c01f54902..e2eb3dedd491 100644
--- a/unoxml/source/dom/attr.hxx
+++ b/unoxml/source/dom/attr.hxx
@@ -64,144 +64,144 @@ namespace DOM
/**
Returns the name of this attribute.
*/
- virtual OUString SAL_CALL getName() throw (RuntimeException);
+ virtual OUString SAL_CALL getName() throw (RuntimeException, std::exception);
/**
The Element node this attribute is attached to or null if this
attribute is not in use.
*/
- virtual Reference< XElement > SAL_CALL getOwnerElement() throw (RuntimeException);
+ virtual Reference< XElement > SAL_CALL getOwnerElement() throw (RuntimeException, std::exception);
/**
If this attribute was explicitly given a value in the original
document, this is true; otherwise, it is false.
*/
- virtual sal_Bool SAL_CALL getSpecified()throw (RuntimeException);
+ virtual sal_Bool SAL_CALL getSpecified()throw (RuntimeException, std::exception);
/**
On retrieval, the value of the attribute is returned as a string.
*/
- virtual OUString SAL_CALL getValue() throw (RuntimeException);
+ virtual OUString SAL_CALL getValue() throw (RuntimeException, std::exception);
/**
Sets the value of the attribute from a string.
*/
- virtual void SAL_CALL setValue(const OUString& value) throw (RuntimeException, DOMException);
+ virtual void SAL_CALL setValue(const OUString& value) throw (RuntimeException, DOMException, std::exception);
// resolve uno inheritance problems...
// overrides for XNode base
virtual OUString SAL_CALL getNodeName()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual OUString SAL_CALL getNodeValue()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual OUString SAL_CALL getLocalName()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
// --- delegation for XNde base.
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::appendChild(newChild);
}
virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::cloneNode(deep);
}
virtual Reference< XNamedNodeMap > SAL_CALL getAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getAttributes();
}
virtual Reference< XNodeList > SAL_CALL getChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getChildNodes();
}
virtual Reference< XNode > SAL_CALL getFirstChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getFirstChild();
}
virtual Reference< XNode > SAL_CALL getLastChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLastChild();
}
virtual OUString SAL_CALL getNamespaceURI()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual Reference< XNode > SAL_CALL getNextSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNextSibling();
}
virtual NodeType SAL_CALL getNodeType()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNodeType();
}
virtual Reference< XDocument > SAL_CALL getOwnerDocument()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getOwnerDocument();
}
virtual Reference< XNode > SAL_CALL getParentNode()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getParentNode();
}
virtual OUString SAL_CALL getPrefix()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual Reference< XNode > SAL_CALL getPreviousSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getPreviousSibling();
}
virtual sal_Bool SAL_CALL hasAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::hasAttributes();
}
virtual sal_Bool SAL_CALL hasChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::hasChildNodes();
}
virtual Reference< XNode > SAL_CALL insertBefore(
const Reference< XNode >& newChild, const Reference< XNode >& refChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::insertBefore(newChild, refChild);
}
virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::isSupported(feature, ver);
}
virtual void SAL_CALL normalize()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
CNode::normalize();
}
virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::removeChild(oldChild);
}
virtual Reference< XNode > SAL_CALL replaceChild(
const Reference< XNode >& newChild, const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::replaceChild(newChild, oldChild);
}
virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return setValue(nodeValue);
}
virtual void SAL_CALL setPrefix(const OUString& prefix)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
};
}
diff --git a/unoxml/source/dom/attributesmap.cxx b/unoxml/source/dom/attributesmap.cxx
index 9c93f24a2d20..4514225ad499 100644
--- a/unoxml/source/dom/attributesmap.cxx
+++ b/unoxml/source/dom/attributesmap.cxx
@@ -37,7 +37,7 @@ namespace DOM
/**
The number of nodes in this map.
*/
- sal_Int32 SAL_CALL CAttributesMap::getLength() throw (RuntimeException)
+ sal_Int32 SAL_CALL CAttributesMap::getLength() throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -59,7 +59,7 @@ namespace DOM
Retrieves a node specified by local name
*/
Reference< XNode > SAL_CALL
- CAttributesMap::getNamedItem(OUString const& name) throw (RuntimeException)
+ CAttributesMap::getNamedItem(OUString const& name) throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -91,7 +91,7 @@ namespace DOM
Reference< XNode > SAL_CALL
CAttributesMap::getNamedItemNS(
OUString const& namespaceURI, OUString const& localName)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -126,7 +126,7 @@ namespace DOM
Returns the indexth item in the map.
*/
Reference< XNode > SAL_CALL
- CAttributesMap::item(sal_Int32 index) throw (RuntimeException)
+ CAttributesMap::item(sal_Int32 index) throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -157,7 +157,7 @@ namespace DOM
*/
Reference< XNode > SAL_CALL
CAttributesMap::removeNamedItem(OUString const& name)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
// no MutexGuard needed: m_pElement is const
Reference< XAttr > const xAttr(m_pElement->getAttributeNode(name));
@@ -178,7 +178,7 @@ namespace DOM
Reference< XNode > SAL_CALL
CAttributesMap::removeNamedItemNS(
OUString const& namespaceURI, OUString const& localName)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
// no MutexGuard needed: m_pElement is const
Reference< XAttr > const xAttr(
@@ -199,7 +199,7 @@ namespace DOM
*/
Reference< XNode > SAL_CALL
CAttributesMap::setNamedItem(Reference< XNode > const& xNode)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
Reference< XAttr > const xAttr(xNode, UNO_QUERY);
if (!xNode.is()) {
@@ -219,7 +219,7 @@ namespace DOM
*/
Reference< XNode > SAL_CALL
CAttributesMap::setNamedItemNS(Reference< XNode > const& xNode)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
Reference< XAttr > const xAttr(xNode, UNO_QUERY);
if (!xNode.is()) {
diff --git a/unoxml/source/dom/attributesmap.hxx b/unoxml/source/dom/attributesmap.hxx
index 3508524b2c2c..d481874a0d38 100644
--- a/unoxml/source/dom/attributesmap.hxx
+++ b/unoxml/source/dom/attributesmap.hxx
@@ -51,54 +51,54 @@ namespace DOM
/**
The number of nodes in this map.
*/
- virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException);
+ virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception);
/**
Retrieves a node specified by local name
*/
virtual Reference< XNode > SAL_CALL getNamedItem(OUString const& name)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Retrieves a node specified by local name and namespace URI.
*/
virtual Reference< XNode > SAL_CALL getNamedItemNS(
OUString const& namespaceURI, OUString const& localName)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Returns the indexth item in the map.
*/
virtual Reference< XNode > SAL_CALL item(sal_Int32 index)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Removes a node specified by name.
*/
virtual Reference< XNode > SAL_CALL
removeNamedItem(OUString const& name)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
// Removes a node specified by local name and namespace URI.
*/
virtual Reference< XNode > SAL_CALL removeNamedItemNS(
OUString const& namespaceURI, OUString const& localName)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
// Adds a node using its nodeName attribute.
*/
virtual Reference< XNode > SAL_CALL
setNamedItem(Reference< XNode > const& arg)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Adds a node using its namespaceURI and localName.
*/
virtual Reference< XNode > SAL_CALL
setNamedItemNS(Reference< XNode > const& arg)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
};
}
diff --git a/unoxml/source/dom/cdatasection.cxx b/unoxml/source/dom/cdatasection.cxx
index 6ea146fb6ad9..49ffabdaf6be 100644
--- a/unoxml/source/dom/cdatasection.cxx
+++ b/unoxml/source/dom/cdatasection.cxx
@@ -42,12 +42,12 @@ namespace DOM
}
}
- OUString SAL_CALL CCDATASection::getNodeName()throw (RuntimeException)
+ OUString SAL_CALL CCDATASection::getNodeName()throw (RuntimeException, std::exception)
{
return OUString( "#cdata-section" );
}
- OUString SAL_CALL CCDATASection::getNodeValue() throw (RuntimeException)
+ OUString SAL_CALL CCDATASection::getNodeValue() throw (RuntimeException, std::exception)
{
return CCharacterData::getData();
}
diff --git a/unoxml/source/dom/cdatasection.hxx b/unoxml/source/dom/cdatasection.hxx
index efd78789ad7a..de264c9556fc 100644
--- a/unoxml/source/dom/cdatasection.hxx
+++ b/unoxml/source/dom/cdatasection.hxx
@@ -48,47 +48,47 @@ namespace DOM
virtual void saxify(const Reference< XDocumentHandler >& i_xHandler);
virtual Reference< XText > SAL_CALL splitText(sal_Int32 offset)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CText::splitText(offset);
}
// --- delegations for XCharacterData
virtual void SAL_CALL appendData(const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::appendData(arg);
}
virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::deleteData(offset, count);
}
- virtual OUString SAL_CALL getData() throw (RuntimeException)
+ virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception)
{
return CCharacterData::getData();
}
- virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException)
+ virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception)
{
return CCharacterData::getLength();
}
virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::insertData(offset, arg);
}
virtual void SAL_CALL replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::replaceData(offset, count, arg);
}
virtual void SAL_CALL setData(const OUString& data)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::setData(data);
}
virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CCharacterData::subStringData(offset, count);
}
@@ -96,125 +96,125 @@ namespace DOM
// --- overrides for XNode base
virtual OUString SAL_CALL getNodeName()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual OUString SAL_CALL getNodeValue()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
// --- delegation for XNde base.
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::appendChild(newChild);
}
virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::cloneNode(deep);
}
virtual Reference< XNamedNodeMap > SAL_CALL getAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getAttributes();
}
virtual Reference< XNodeList > SAL_CALL getChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getChildNodes();
}
virtual Reference< XNode > SAL_CALL getFirstChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getFirstChild();
}
virtual Reference< XNode > SAL_CALL getLastChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLastChild();
}
virtual OUString SAL_CALL getLocalName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLocalName();
}
virtual OUString SAL_CALL getNamespaceURI()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNamespaceURI();
}
virtual Reference< XNode > SAL_CALL getNextSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNextSibling();
}
virtual NodeType SAL_CALL getNodeType()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNodeType();
}
virtual Reference< XDocument > SAL_CALL getOwnerDocument()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getOwnerDocument();
}
virtual Reference< XNode > SAL_CALL getParentNode()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getParentNode();
}
virtual OUString SAL_CALL getPrefix()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getPrefix();
}
virtual Reference< XNode > SAL_CALL getPreviousSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getPreviousSibling();
}
virtual sal_Bool SAL_CALL hasAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::hasAttributes();
}
virtual sal_Bool SAL_CALL hasChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::hasChildNodes();
}
virtual Reference< XNode > SAL_CALL insertBefore(
const Reference< XNode >& newChild, const Reference< XNode >& refChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::insertBefore(newChild, refChild);
}
virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::isSupported(feature, ver);
}
virtual void SAL_CALL normalize()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
CNode::normalize();
}
virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::removeChild(oldChild);
}
virtual Reference< XNode > SAL_CALL replaceChild(
const Reference< XNode >& newChild, const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::replaceChild(newChild, oldChild);
}
virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CText::setNodeValue(nodeValue);
}
virtual void SAL_CALL setPrefix(const OUString& prefix)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::setPrefix(prefix);
}
diff --git a/unoxml/source/dom/characterdata.cxx b/unoxml/source/dom/characterdata.cxx
index 2282171e438b..648aaffdbac6 100644
--- a/unoxml/source/dom/characterdata.cxx
+++ b/unoxml/source/dom/characterdata.cxx
@@ -56,7 +56,7 @@ namespace DOM
Append the string to the end of the character data of the node.
*/
void SAL_CALL CCharacterData::appendData(const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::ClearableMutexGuard guard(m_rMutex);
@@ -75,7 +75,7 @@ namespace DOM
Remove a range of 16-bit units from the node.
*/
void SAL_CALL CCharacterData::deleteData(sal_Int32 offset, sal_Int32 count)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::ClearableMutexGuard guard(m_rMutex);
@@ -109,7 +109,7 @@ namespace DOM
/**
Return the character data of the node that implements this interface.
*/
- OUString SAL_CALL CCharacterData::getData() throw (RuntimeException)
+ OUString SAL_CALL CCharacterData::getData() throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -129,7 +129,7 @@ namespace DOM
The number of 16-bit units that are available through data and the
substringData method below.
*/
- sal_Int32 SAL_CALL CCharacterData::getLength() throw (RuntimeException)
+ sal_Int32 SAL_CALL CCharacterData::getLength() throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -146,7 +146,7 @@ namespace DOM
Insert a string at the specified 16-bit unit offset.
*/
void SAL_CALL CCharacterData::insertData(sal_Int32 offset, const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::ClearableMutexGuard guard(m_rMutex);
@@ -181,7 +181,7 @@ namespace DOM
with the specified string.
*/
void SAL_CALL CCharacterData::replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::ClearableMutexGuard guard(m_rMutex);
@@ -216,7 +216,7 @@ namespace DOM
Set the character data of the node that implements this interface.
*/
void SAL_CALL CCharacterData::setData(const OUString& data)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::ClearableMutexGuard guard(m_rMutex);
@@ -235,7 +235,7 @@ namespace DOM
Extracts a range of data from the node.
*/
OUString SAL_CALL CCharacterData::subStringData(sal_Int32 offset, sal_Int32 count)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
diff --git a/unoxml/source/dom/characterdata.hxx b/unoxml/source/dom/characterdata.hxx
index 3ce25ebd67d7..b1924297f76a 100644
--- a/unoxml/source/dom/characterdata.hxx
+++ b/unoxml/source/dom/characterdata.hxx
@@ -57,175 +57,175 @@ namespace DOM
Append the string to the end of the character data of the node.
*/
virtual void SAL_CALL appendData(const OUString& arg)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Remove a range of 16-bit units from the node.
*/
virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Return the character data of the node that implements this interface.
*/
- virtual OUString SAL_CALL getData() throw (RuntimeException);
+ virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception);
/**
The number of 16-bit units that are available through data and the
substringData method below.
*/
- virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException);
+ virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception);
/**
Insert a string at the specified 16-bit unit offset.
*/
virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
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 (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Set the character data of the node that implements this interface.
*/
virtual void SAL_CALL setData(const OUString& data)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Extracts a range of data from the node.
*/
virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
// --- delegation for XNode base.
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::appendChild(newChild);
}
virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::cloneNode(deep);
}
virtual Reference< XNamedNodeMap > SAL_CALL getAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getAttributes();
}
virtual Reference< XNodeList > SAL_CALL getChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getChildNodes();
}
virtual Reference< XNode > SAL_CALL getFirstChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getFirstChild();
}
virtual Reference< XNode > SAL_CALL getLastChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLastChild();
}
virtual OUString SAL_CALL getLocalName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLocalName();
}
virtual OUString SAL_CALL getNamespaceURI()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNamespaceURI();
}
virtual Reference< XNode > SAL_CALL getNextSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNextSibling();
}
virtual OUString SAL_CALL getNodeName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNodeName();
}
virtual NodeType SAL_CALL getNodeType()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNodeType();
}
virtual OUString SAL_CALL getNodeValue()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return getData();
}
virtual Reference< XDocument > SAL_CALL getOwnerDocument()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getOwnerDocument();
}
virtual Reference< XNode > SAL_CALL getParentNode()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getParentNode();
}
virtual OUString SAL_CALL getPrefix()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getPrefix();
}
virtual Reference< XNode > SAL_CALL getPreviousSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getPreviousSibling();
}
virtual sal_Bool SAL_CALL hasAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::hasAttributes();
}
virtual sal_Bool SAL_CALL hasChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::hasChildNodes();
}
virtual Reference< XNode > SAL_CALL insertBefore(
const Reference< XNode >& newChild, const Reference< XNode >& refChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::insertBefore(newChild, refChild);
}
virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::isSupported(feature, ver);
}
virtual void SAL_CALL normalize()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
CNode::normalize();
}
virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::removeChild(oldChild);
}
virtual Reference< XNode > SAL_CALL replaceChild(
const Reference< XNode >& newChild, const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::replaceChild(newChild, oldChild);
}
virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return setData(nodeValue);
}
virtual void SAL_CALL setPrefix(const OUString& prefix)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::setPrefix(prefix);
}
diff --git a/unoxml/source/dom/childlist.cxx b/unoxml/source/dom/childlist.cxx
index f98a6f5264d7..9f4235052229 100644
--- a/unoxml/source/dom/childlist.cxx
+++ b/unoxml/source/dom/childlist.cxx
@@ -37,7 +37,7 @@ namespace DOM
/**
The number of nodes in the list.
*/
- sal_Int32 SAL_CALL CChildList::getLength() throw (RuntimeException)
+ sal_Int32 SAL_CALL CChildList::getLength() throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -61,7 +61,7 @@ namespace DOM
Returns the indexth item in the collection.
*/
Reference< XNode > SAL_CALL CChildList::item(sal_Int32 index)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
diff --git a/unoxml/source/dom/childlist.hxx b/unoxml/source/dom/childlist.hxx
index a0d7162323b6..ff1bd8a208ab 100644
--- a/unoxml/source/dom/childlist.hxx
+++ b/unoxml/source/dom/childlist.hxx
@@ -51,12 +51,12 @@ namespace DOM
/**
The number of nodes in the list.
*/
- virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException);
+ virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception);
/**
Returns the indexth item in the collection.
*/
virtual Reference< XNode > SAL_CALL item(sal_Int32 index)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
};
}
diff --git a/unoxml/source/dom/comment.cxx b/unoxml/source/dom/comment.cxx
index 3c1fe101013c..325e9d10eb48 100644
--- a/unoxml/source/dom/comment.cxx
+++ b/unoxml/source/dom/comment.cxx
@@ -39,12 +39,12 @@ namespace DOM
}
}
- OUString SAL_CALL CComment::getNodeName()throw (RuntimeException)
+ OUString SAL_CALL CComment::getNodeName()throw (RuntimeException, std::exception)
{
return OUString("#comment");
}
- OUString SAL_CALL CComment::getNodeValue() throw (RuntimeException)
+ OUString SAL_CALL CComment::getNodeValue() throw (RuntimeException, std::exception)
{
return CCharacterData::getData();
}
diff --git a/unoxml/source/dom/comment.hxx b/unoxml/source/dom/comment.hxx
index fefabdcb4c10..8958ee7abbb5 100644
--- a/unoxml/source/dom/comment.hxx
+++ b/unoxml/source/dom/comment.hxx
@@ -50,40 +50,40 @@ namespace DOM
// --- delegations for XCharacterData
virtual void SAL_CALL appendData(const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::appendData(arg);
}
virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::deleteData(offset, count);
}
- virtual OUString SAL_CALL getData() throw (RuntimeException)
+ virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception)
{
return CCharacterData::getData();
}
- virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException)
+ virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception)
{
return CCharacterData::getLength();
}
virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::insertData(offset, arg);
}
virtual void SAL_CALL replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::replaceData(offset, count, arg);
}
virtual void SAL_CALL setData(const OUString& data)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
CCharacterData::setData(data);
}
virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CCharacterData::subStringData(offset, count);
}
@@ -91,125 +91,125 @@ namespace DOM
// --- overrides for XNode base
virtual OUString SAL_CALL getNodeName()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual OUString SAL_CALL getNodeValue()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
// --- delegation for XNde base.
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CCharacterData::appendChild(newChild);
}
virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::cloneNode(deep);
}
virtual Reference< XNamedNodeMap > SAL_CALL getAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getAttributes();
}
virtual Reference< XNodeList > SAL_CALL getChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getChildNodes();
}
virtual Reference< XNode > SAL_CALL getFirstChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getFirstChild();
}
virtual Reference< XNode > SAL_CALL getLastChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getLastChild();
}
virtual OUString SAL_CALL getLocalName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getLocalName();
}
virtual OUString SAL_CALL getNamespaceURI()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getNamespaceURI();
}
virtual Reference< XNode > SAL_CALL getNextSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getNextSibling();
}
virtual NodeType SAL_CALL getNodeType()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getNodeType();
}
virtual Reference< XDocument > SAL_CALL getOwnerDocument()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getOwnerDocument();
}
virtual Reference< XNode > SAL_CALL getParentNode()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getParentNode();
}
virtual OUString SAL_CALL getPrefix()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getPrefix();
}
virtual Reference< XNode > SAL_CALL getPreviousSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::getPreviousSibling();
}
virtual sal_Bool SAL_CALL hasAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::hasAttributes();
}
virtual sal_Bool SAL_CALL hasChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::hasChildNodes();
}
virtual Reference< XNode > SAL_CALL insertBefore(
const Reference< XNode >& newChild, const Reference< XNode >& refChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CCharacterData::insertBefore(newChild, refChild);
}
virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CCharacterData::isSupported(feature, ver);
}
virtual void SAL_CALL normalize()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
CCharacterData::normalize();
}
virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CCharacterData::removeChild(oldChild);
}
virtual Reference< XNode > SAL_CALL replaceChild(
const Reference< XNode >& newChild, const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CCharacterData::replaceChild(newChild, oldChild);
}
virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CCharacterData::setNodeValue(nodeValue);
}
virtual void SAL_CALL setPrefix(const OUString& prefix)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CCharacterData::setPrefix(prefix);
}
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx
index ff0306c42660..dbfdf455b7b4 100644
--- a/unoxml/source/dom/document.cxx
+++ b/unoxml/source/dom/document.cxx
@@ -316,7 +316,7 @@ namespace DOM
void SAL_CALL CDocument::addListener(const Reference< XStreamListener >& aListener )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -324,7 +324,7 @@ namespace DOM
}
void SAL_CALL CDocument::removeListener(const Reference< XStreamListener >& aListener )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -361,7 +361,7 @@ namespace DOM
} // extern "C"
void SAL_CALL CDocument::start()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
listenerlist_t streamListeners;
{
@@ -402,20 +402,20 @@ namespace DOM
}
void SAL_CALL CDocument::terminate()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
// not supported
}
void SAL_CALL CDocument::setOutputStream( const Reference< XOutputStream >& aStream )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
m_rOutputStream = aStream;
}
- Reference< XOutputStream > SAL_CALL CDocument::getOutputStream() throw (RuntimeException)
+ Reference< XOutputStream > SAL_CALL CDocument::getOutputStream() throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -424,7 +424,7 @@ namespace DOM
// Creates an Attr of the given name.
Reference< XAttr > SAL_CALL CDocument::createAttribute(const OUString& name)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -441,7 +441,7 @@ namespace DOM
// Creates an attribute of the given qualified name and namespace URI.
Reference< XAttr > SAL_CALL CDocument::createAttributeNS(
const OUString& ns, const OUString& qname)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -476,7 +476,7 @@ namespace DOM
// Creates a CDATASection node whose value is the specified string.
Reference< XCDATASection > SAL_CALL CDocument::createCDATASection(const OUString& data)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -494,7 +494,7 @@ namespace DOM
// Creates a Comment node given the specified string.
Reference< XComment > SAL_CALL CDocument::createComment(const OUString& data)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -509,7 +509,7 @@ namespace DOM
//Creates an empty DocumentFragment object.
Reference< XDocumentFragment > SAL_CALL CDocument::createDocumentFragment()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -522,7 +522,7 @@ namespace DOM
// Creates an element of the type specified.
Reference< XElement > SAL_CALL CDocument::createElement(const OUString& tagName)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -538,7 +538,7 @@ namespace DOM
// Creates an element of the given qualified name and namespace URI.
Reference< XElement > SAL_CALL CDocument::createElementNS(
const OUString& ns, const OUString& qname)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -574,7 +574,7 @@ namespace DOM
//Creates an EntityReference object.
Reference< XEntityReference > SAL_CALL CDocument::createEntityReference(const OUString& name)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -591,7 +591,7 @@ namespace DOM
// data strings.
Reference< XProcessingInstruction > SAL_CALL CDocument::createProcessingInstruction(
const OUString& target, const OUString& data)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -609,7 +609,7 @@ namespace DOM
// Creates a Text node given the specified string.
Reference< XText > SAL_CALL CDocument::createTextNode(const OUString& data)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -625,7 +625,7 @@ namespace DOM
// The Document Type Declaration (see DocumentType) associated with this
// document.
Reference< XDocumentType > SAL_CALL CDocument::getDoctype()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -639,7 +639,7 @@ namespace DOM
// This is a convenience attribute that allows direct access to the child
// node that is the root element of the document.
Reference< XElement > SAL_CALL CDocument::getDocumentElement()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -680,7 +680,7 @@ namespace DOM
// Returns the Element whose ID is given by elementId.
Reference< XElement > SAL_CALL
CDocument::getElementById(const OUString& elementId)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -699,7 +699,7 @@ namespace DOM
Reference< XNodeList > SAL_CALL
CDocument::getElementsByTagName(OUString const& rTagname)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -710,7 +710,7 @@ namespace DOM
Reference< XNodeList > SAL_CALL CDocument::getElementsByTagNameNS(
OUString const& rNamespaceURI, OUString const& rLocalName)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -721,7 +721,7 @@ namespace DOM
}
Reference< XDOMImplementation > SAL_CALL CDocument::getImplementation()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
// does not need mutex currently
return Reference< XDOMImplementation >(CDOMImplementation::get());
@@ -906,7 +906,7 @@ namespace DOM
Reference< XNode > SAL_CALL CDocument::importNode(
Reference< XNode > const& xImportedNode, sal_Bool deep)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
if (!xImportedNode.is()) { throw RuntimeException(); }
@@ -935,20 +935,20 @@ namespace DOM
return xNode;
}
- OUString SAL_CALL CDocument::getNodeName()throw (RuntimeException)
+ OUString SAL_CALL CDocument::getNodeName()throw (RuntimeException, std::exception)
{
// does not need mutex currently
return OUString("#document");
}
- OUString SAL_CALL CDocument::getNodeValue() throw (RuntimeException)
+ OUString SAL_CALL CDocument::getNodeValue() throw (RuntimeException, std::exception)
{
// does not need mutex currently
return OUString();
}
Reference< XNode > SAL_CALL CDocument::cloneNode(sal_Bool bDeep)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -963,7 +963,7 @@ namespace DOM
return xRet;
}
- Reference< XEvent > SAL_CALL CDocument::createEvent(const OUString& aType) throw (RuntimeException)
+ Reference< XEvent > SAL_CALL CDocument::createEvent(const OUString& aType) throw (RuntimeException, std::exception)
{
// does not need mutex currently
events::CEvent *pEvent = 0;
@@ -992,7 +992,7 @@ namespace DOM
void SAL_CALL CDocument::serialize(
const Reference< XDocumentHandler >& i_xHandler,
const Sequence< beans::StringPair >& i_rNamespaces)
- throw (RuntimeException, SAXException)
+ throw (RuntimeException, SAXException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -1021,7 +1021,7 @@ namespace DOM
const Reference< XFastTokenHandler >& i_xTokenHandler,
const Sequence< beans::StringPair >& i_rNamespaces,
const Sequence< beans::Pair< OUString, sal_Int32 > >& i_rRegisterNamespaces )
- throw (SAXException, RuntimeException)
+ throw (SAXException, RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx
index 9225a8447e0a..18853dfaf7fa 100644
--- a/unoxml/source/dom/document.hxx
+++ b/unoxml/source/dom/document.hxx
@@ -128,49 +128,49 @@ namespace DOM
Creates an Attr of the given name.
*/
virtual Reference< XAttr > SAL_CALL createAttribute(const OUString& name)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Creates an attribute of the given qualified name and namespace URI.
*/
virtual Reference< XAttr > SAL_CALL createAttributeNS(const OUString& namespaceURI, const OUString& qualifiedName)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Creates a CDATASection node whose value is the specified string.
*/
virtual Reference< XCDATASection > SAL_CALL createCDATASection(const OUString& data)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Creates a Comment node given the specified string.
*/
virtual Reference< XComment > SAL_CALL createComment(const OUString& data)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Creates an empty DocumentFragment object.
*/
virtual Reference< XDocumentFragment > SAL_CALL createDocumentFragment()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Creates an element of the type specified.
*/
virtual Reference< XElement > SAL_CALL createElement(const OUString& tagName)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Creates an element of the given qualified name and namespace URI.
*/
virtual Reference< XElement > SAL_CALL createElementNS(const OUString& namespaceURI, const OUString& qualifiedName)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Creates an EntityReference object.
*/
virtual Reference< XEntityReference > SAL_CALL createEntityReference(const OUString& name)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Creates a ProcessingInstruction node given the specified name and
@@ -178,33 +178,33 @@ namespace DOM
*/
virtual Reference< XProcessingInstruction > SAL_CALL createProcessingInstruction(
const OUString& target, const OUString& data)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
/**
Creates a Text node given the specified string.
*/
virtual Reference< XText > SAL_CALL createTextNode(const OUString& data)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
The Document Type Declaration (see DocumentType) associated with this
document.
*/
virtual Reference< XDocumentType > SAL_CALL getDoctype()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
This is a convenience attribute that allows direct access to the child
node that is the root element of the document.
*/
virtual Reference< XElement > SAL_CALL getDocumentElement()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Returns the Element whose ID is given by elementId.
*/
virtual Reference< XElement > SAL_CALL getElementById(const OUString& elementId)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Returns a NodeList of all the Elements with a given tag name in the
@@ -212,7 +212,7 @@ namespace DOM
Document tree.
*/
virtual Reference< XNodeList > SAL_CALL getElementsByTagName(const OUString& tagname)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Returns a NodeList of all the Elements with a given local name and
@@ -220,153 +220,153 @@ namespace DOM
traversal of the Document tree.
*/
virtual Reference< XNodeList > SAL_CALL getElementsByTagNameNS(const OUString& namespaceURI, const OUString& localName)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
The DOMImplementation object that handles this document.
*/
virtual Reference< XDOMImplementation > SAL_CALL getImplementation()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Imports a node from another document to this document.
*/
virtual Reference< XNode > SAL_CALL importNode(const Reference< XNode >& importedNode, sal_Bool deep)
- throw (RuntimeException, DOMException);
+ throw (RuntimeException, DOMException, std::exception);
// XDocumentEvent
- virtual Reference< XEvent > SAL_CALL createEvent(const OUString& eventType) throw (RuntimeException);
+ virtual Reference< XEvent > SAL_CALL createEvent(const OUString& eventType) throw (RuntimeException, std::exception);
// XActiveDataControl,
// see http://api.libreoffice.org/docs/common/ref/com/sun/star/io/XActiveDataControl.html
- virtual void SAL_CALL addListener(const Reference< XStreamListener >& aListener ) throw (RuntimeException);
- virtual void SAL_CALL removeListener(const Reference< XStreamListener >& aListener ) throw (RuntimeException);
- virtual void SAL_CALL start() throw (RuntimeException);
- virtual void SAL_CALL terminate() throw (RuntimeException);
+ virtual void SAL_CALL addListener(const Reference< XStreamListener >& aListener ) throw (RuntimeException, std::exception);
+ virtual void SAL_CALL removeListener(const Reference< XStreamListener >& aListener ) throw (RuntimeException, std::exception);
+ virtual void SAL_CALL start() throw (RuntimeException, std::exception);
+ virtual void SAL_CALL terminate() throw (RuntimeException, std::exception);
// XActiveDataSource
// see http://api.libreoffice.org/docs/common/ref/com/sun/star/io/XActiveDataSource.html
- virtual void SAL_CALL setOutputStream( const Reference< XOutputStream >& aStream ) throw (RuntimeException);
- virtual Reference< XOutputStream > SAL_CALL getOutputStream() throw (RuntimeException);
+ virtual void SAL_CALL setOutputStream( const Reference< XOutputStream >& aStream ) throw (RuntimeException, std::exception);
+ virtual Reference< XOutputStream > SAL_CALL getOutputStream() throw (RuntimeException, std::exception);
// ---- resolve uno inheritance problems...
// overrides for XNode base
virtual OUString SAL_CALL getNodeName()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual OUString SAL_CALL getNodeValue()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
// --- delegation for XNde base.
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::appendChild(newChild);
}
virtual Reference< XNamedNodeMap > SAL_CALL getAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getAttributes();
}
virtual Reference< XNodeList > SAL_CALL getChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getChildNodes();
}
virtual Reference< XNode > SAL_CALL getFirstChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getFirstChild();
}
virtual Reference< XNode > SAL_CALL getLastChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLastChild();
}
virtual OUString SAL_CALL getLocalName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLocalName();
}
virtual OUString SAL_CALL getNamespaceURI()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNamespaceURI();
}
virtual Reference< XNode > SAL_CALL getNextSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNextSibling();
}
virtual NodeType SAL_CALL getNodeType()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNodeType();
}
virtual Reference< XDocument > SAL_CALL getOwnerDocument()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getOwnerDocument();
}
virtual Reference< XNode > SAL_CALL getParentNode()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getParentNode();
}
virtual OUString SAL_CALL getPrefix()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getPrefix();
}
virtual Reference< XNode > SAL_CALL getPreviousSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getPreviousSibling();
}
virtual sal_Bool SAL_CALL hasAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::hasAttributes();
}
virtual sal_Bool SAL_CALL hasChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::hasChildNodes();
}
virtual Reference< XNode > SAL_CALL insertBefore(
const Reference< XNode >& newChild, const Reference< XNode >& refChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::insertBefore(newChild, refChild);
}
virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::isSupported(feature, ver);
}
virtual void SAL_CALL normalize()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
CNode::normalize();
}
virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::removeChild(oldChild);
}
virtual Reference< XNode > SAL_CALL replaceChild(
const Reference< XNode >& newChild, const Reference< XNode >& oldChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::replaceChild(newChild, oldChild);
}
virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::setNodeValue(nodeValue);
}
virtual void SAL_CALL setPrefix(const OUString& prefix)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::setPrefix(prefix);
}
@@ -375,14 +375,14 @@ namespace DOM
virtual void SAL_CALL serialize(
const Reference< XDocumentHandler >& i_xHandler,
const Sequence< beans::StringPair >& i_rNamespaces)
- throw (RuntimeException, SAXException);
+ throw (RuntimeException, SAXException, std::exception);
// ::com::sun::star::xml::sax::XFastSAXSerializable
virtual void SAL_CALL fastSerialize( const Reference< XFastDocumentHandler >& handler,
const Reference< XFastTokenHandler >& tokenHandler,
const Sequence< beans::StringPair >& i_rNamespaces,
const Sequence< beans::Pair< OUString, sal_Int32 > >& namespaces )
- throw (SAXException, RuntimeException);
+ throw (SAXException, RuntimeException, std::exception);
};
}
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index eef5e387252c..d99836f649d8 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -59,7 +59,7 @@ namespace DOM
{
public:
virtual InputSource SAL_CALL resolveEntity( const OUString& sPublicId, const OUString& sSystemId )
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
InputSource is;
is.sPublicId = sPublicId;
@@ -119,44 +119,44 @@ namespace DOM
}
Sequence< OUString > SAL_CALL CDocumentBuilder::getSupportedServiceNames()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CDocumentBuilder::_getSupportedServiceNames();
}
OUString SAL_CALL CDocumentBuilder::getImplementationName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CDocumentBuilder::_getImplementationName();
}
sal_Bool SAL_CALL CDocumentBuilder::supportsService(const OUString& aServiceName)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return cppu::supportsService(this, aServiceName);
}
Reference< XDOMImplementation > SAL_CALL CDocumentBuilder::getDOMImplementation()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return Reference< XDOMImplementation >();
}
sal_Bool SAL_CALL CDocumentBuilder::isNamespaceAware()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return sal_True;
}
sal_Bool SAL_CALL CDocumentBuilder::isValidating()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return sal_False;
}
Reference< XDocument > SAL_CALL CDocumentBuilder::newDocument()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -305,7 +305,7 @@ namespace DOM
}
Reference< XDocument > SAL_CALL CDocumentBuilder::parse(const Reference< XInputStream >& is)
- throw (RuntimeException, SAXParseException, IOException)
+ throw (RuntimeException, SAXParseException, IOException, std::exception)
{
if (!is.is()) {
throw RuntimeException();
@@ -348,7 +348,7 @@ namespace DOM
}
Reference< XDocument > SAL_CALL CDocumentBuilder::parseURI(const OUString& sUri)
- throw (RuntimeException, SAXParseException, IOException)
+ throw (RuntimeException, SAXParseException, IOException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -372,7 +372,7 @@ namespace DOM
void SAL_CALL
CDocumentBuilder::setEntityResolver(Reference< XEntityResolver > const& xER)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -389,7 +389,7 @@ namespace DOM
void SAL_CALL
CDocumentBuilder::setErrorHandler(Reference< XErrorHandler > const& xEH)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
diff --git a/unoxml/source/dom/documentbuilder.hxx b/unoxml/source/dom/documentbuilder.hxx
index a44db313f7b4..eb810ffd5752 100644
--- a/unoxml/source/dom/documentbuilder.hxx
+++ b/unoxml/source/dom/documentbuilder.hxx
@@ -86,59 +86,59 @@ namespace DOM
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames ()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Obtain an instance of a DOMImplementation object.
*/
virtual Reference< XDOMImplementation > SAL_CALL getDOMImplementation()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Indicates whether or not this parser is configured to understand
namespaces.
*/
virtual sal_Bool SAL_CALL isNamespaceAware()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Indicates whether or not this parser is configured to validate XML
documents.
*/
virtual sal_Bool SAL_CALL isValidating()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Obtain a new instance of a DOM Document object to build a DOM tree
with.
*/
virtual Reference< XDocument > SAL_CALL newDocument()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
/**
Parse the content of the given InputStream as an XML document and
return a new DOM Document object.
*/
virtual Reference< XDocument > SAL_CALL parse(const Reference< XInputStream >& is)
- throw (RuntimeException, SAXParseException, IOException);
+ throw (RuntimeException, SAXParseException, IOException, std::exception);
/**
Parse the content of the given URI as an XML document and return
a new DOM Document object.
*/
virtual Reference< XDocument > SAL_CALL parseURI(const OUString& uri)
- throw (RuntimeException, SAXParseException, IOException);
+ throw (RuntimeException, SAXParseException, IOException, std::exception);
/**
Specify the EntityResolver to be used to resolve entities present
in the XML document to be parsed.
*/
virtual void SAL_CALL setEntityResolver(const Reference< XEntityResolver >& er)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual Reference< XEntityResolver > SAL_CALL getEntityResolver()
throw (RuntimeException);
@@ -149,7 +149,7 @@ namespace DOM
the XML document to be parsed.
*/
virtual void SAL_CALL setErrorHandler(const Reference< XErrorHandler >& eh)
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
};
}
diff --git a/unoxml/source/dom/documentfragment.cxx b/unoxml/source/dom/documentfragment.cxx
index 5c476510073f..e885cb52ed6d 100644
--- a/unoxml/source/dom/documentfragment.cxx
+++ b/unoxml/source/dom/documentfragment.cxx
@@ -44,11 +44,11 @@ namespace DOM
}
}
- OUString SAL_CALL CDocumentFragment::getNodeName()throw (RuntimeException)
+ OUString SAL_CALL CDocumentFragment::getNodeName()throw (RuntimeException, std::exception)
{
return OUString("#document-fragment");
}
- OUString SAL_CALL CDocumentFragment::getNodeValue() throw (RuntimeException)
+ OUString SAL_CALL CDocumentFragment::getNodeValue() throw (RuntimeException, std::exception)
{
return OUString();
}
diff --git a/unoxml/source/dom/documentfragment.hxx b/unoxml/source/dom/documentfragment.hxx
index e3f9d9f0563b..72c42dccf5f4 100644
--- a/unoxml/source/dom/documentfragment.hxx
+++ b/unoxml/source/dom/documentfragment.hxx
@@ -51,124 +51,124 @@ namespace DOM
// ---- resolve uno inheritance problems...
// overrides for XNode base
virtual OUString SAL_CALL getNodeName()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual OUString SAL_CALL getNodeValue()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
// --- delegation for XNde base.
virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild)
- throw (RuntimeException, DOMException)
+ throw (RuntimeException, DOMException, std::exception)
{
return CNode::appendChild(newChild);
}
virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::cloneNode(deep);
}
virtual Reference< XNamedNodeMap > SAL_CALL getAttributes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getAttributes();
}
virtual Reference< XNodeList > SAL_CALL getChildNodes()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getChildNodes();
}
virtual Reference< XNode > SAL_CALL getFirstChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getFirstChild();
}
virtual Reference< XNode > SAL_CALL getLastChild()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLastChild();
}
virtual OUString SAL_CALL getLocalName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getLocalName();
}
virtual OUString SAL_CALL getNamespaceURI()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNamespaceURI();
}
virtual Reference< XNode > SAL_CALL getNextSibling()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNextSibling();
}
virtual NodeType SAL_CALL getNodeType()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getNodeType();
}
virtual Reference< XDocument > SAL_CALL getOwnerDocument()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getOwnerDocument();
}
virtual Reference< XNode > SAL_CALL getParentNode()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return CNode::getParentNode();
}
virtual OUString SAL_CALL getPrefix()