diff options
author | Lars Oppermann <lo@openoffice.org> | 2004-02-26 13:43:17 +0000 |
---|---|---|
committer | Lars Oppermann <lo@openoffice.org> | 2004-02-26 13:43:17 +0000 |
commit | 14ff87d59b11833156b0992ee373b14d40ea368c (patch) | |
tree | b3af06ba49719f5dc37dc7893532379e3f551782 /unoxml/source/dom/document.cxx | |
parent | 4b26e619b71d56c4f1e91c61cb0bbcd138a77d05 (diff) |
#i25594# exceptions
Diffstat (limited to 'unoxml/source/dom/document.cxx')
-rw-r--r-- | unoxml/source/dom/document.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx index 5b32b54f75f5..177c96331b78 100644 --- a/unoxml/source/dom/document.cxx +++ b/unoxml/source/dom/document.cxx @@ -2,9 +2,9 @@ *
* $RCSfile: document.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: lo $ $Date: 2004-02-16 16:41:47 $
+ * last change: $Author: lo $ $Date: 2004-02-26 14:43:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -131,7 +131,7 @@ namespace DOM // Creates an Attr of the given name.
Reference< XAttr > SAL_CALL CDocument::createAttribute(const OUString& name)
- throw (RuntimeException)
+ throw (DOMException)
{
OString o1 = OUStringToOString(name, RTL_TEXTENCODING_UTF8);
xmlChar *xName = (xmlChar*)o1.getStr();
@@ -142,7 +142,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)
+ throw (DOMException)
{
// libxml does not allow a NS definition to be attached to an
@@ -205,7 +205,7 @@ namespace DOM // Creates an element of the type specified.
Reference< XElement > SAL_CALL CDocument::createElement(const OUString& tagName)
- throw (RuntimeException)
+ throw (DOMException)
{
OString o1 = OUStringToOString(tagName, RTL_TEXTENCODING_UTF8);
xmlChar *xName = (xmlChar*)o1.getStr();
@@ -216,7 +216,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)
+ throw (DOMException)
{
sal_Int32 i = qname.indexOf(':');
if (ns.getLength() == 0) throw RuntimeException();
@@ -247,7 +247,7 @@ namespace DOM //Creates an EntityReference object.
Reference< XEntityReference > SAL_CALL CDocument::createEntityReference(const OUString& name)
- throw (RuntimeException)
+ throw (DOMException)
{
OString o1 = OUStringToOString(name, RTL_TEXTENCODING_UTF8);
xmlChar *xName = (xmlChar*)o1.getStr();
@@ -259,7 +259,7 @@ namespace DOM // data strings.
Reference< XProcessingInstruction > SAL_CALL CDocument::createProcessingInstruction(
const OUString& target, const OUString& data)
- throw (RuntimeException)
+ throw (DOMException)
{
OString o1 = OUStringToOString(target, RTL_TEXTENCODING_UTF8);
xmlChar *xTarget = (xmlChar*)o1.getStr();
@@ -396,7 +396,7 @@ namespace DOM Reference< XNode > SAL_CALL CDocument::importNode(
const Reference< XNode >& importedNode, sal_Bool deep)
- throw (RuntimeException)
+ throw (DOMException)
{
// this node could be from another memory model
// only use uno interfaces to access is!!!
|