diff --git a/src/helma/objectmodel/IDatabase.java b/src/helma/objectmodel/IDatabase.java index a9a7e2da..62b24625 100644 --- a/src/helma/objectmodel/IDatabase.java +++ b/src/helma/objectmodel/IDatabase.java @@ -19,8 +19,6 @@ package helma.objectmodel; import helma.objectmodel.INode; import helma.objectmodel.db.IDGenerator; import java.io.IOException; -import org.xml.sax.SAXException; -import javax.xml.parsers.ParserConfigurationException; /** * Interface that is implemented by Database wrappers @@ -57,8 +55,7 @@ public interface IDatabase { // node-related public INode getNode(ITransaction transaction, String key) - throws IOException, ObjectNotFoundException, - SAXException, ParserConfigurationException; + throws IOException, ObjectNotFoundException; /** * diff --git a/src/helma/objectmodel/db/XmlDatabase.java b/src/helma/objectmodel/db/XmlDatabase.java index 897b4f19..a96d09ea 100644 --- a/src/helma/objectmodel/db/XmlDatabase.java +++ b/src/helma/objectmodel/db/XmlDatabase.java @@ -20,9 +20,7 @@ import helma.objectmodel.*; import helma.objectmodel.dom.IDGenParser; import helma.objectmodel.dom.XmlDatabaseReader; import helma.objectmodel.dom.XmlWriter; -import org.xml.sax.SAXException; -import javax.xml.parsers.ParserConfigurationException; import java.io.File; import java.io.IOException; import java.util.ArrayList; @@ -162,12 +160,9 @@ public final class XmlDatabase implements IDatabase { * @return * @throws IOException * @throws ObjectNotFoundException - * @throws ParserConfigurationException - * @throws SAXException */ public INode getNode(ITransaction txn, String kstr) - throws IOException, ObjectNotFoundException, - ParserConfigurationException, SAXException { + throws IOException, ObjectNotFoundException { File f = new File(dbHomeDir, kstr + ".xml"); if (!f.exists()) {