tests of xerces class loading
diff --git a/tests/org.eclipse.wtp.tests.xerces/src/org/eclipse/wtp/tests/xerces/DoXercesSerialize.java b/tests/org.eclipse.wtp.tests.xerces/src/org/eclipse/wtp/tests/xerces/DoXercesSerialize.java
index 6d9db81..d147e18 100644
--- a/tests/org.eclipse.wtp.tests.xerces/src/org/eclipse/wtp/tests/xerces/DoXercesSerialize.java
+++ b/tests/org.eclipse.wtp.tests.xerces/src/org/eclipse/wtp/tests/xerces/DoXercesSerialize.java
@@ -71,7 +71,7 @@
 		System.out.println("------");
 	}
 
-	private Document getTestDocument() throws IOException {
+	private Document getTestDocument() throws IOException, ParserConfigurationException, SAXException {
 		StringReader stringReader = new StringReader(xmlString);
 
 		Document document = null;
@@ -80,7 +80,7 @@
 		return document;
 	}
 
-	public void doLSwrite() throws IllegalAccessException, ClassCastException, ClassNotFoundException, InstantiationException, IOException {
+	public void doLSwrite() throws IllegalAccessException, ClassCastException, ClassNotFoundException, InstantiationException, IOException, ParserConfigurationException, SAXException {
 
 		printHeaderInfo("LSSerializer");
 
@@ -99,7 +99,7 @@
 
 	}
 
-	public void doSerialize() throws TransformerFactoryConfigurationError, TransformerException, IOException {
+	public void doSerialize() throws TransformerFactoryConfigurationError, TransformerException, IOException, ParserConfigurationException, SAXException {
 
 		printHeaderInfo("Transformer");
 
@@ -135,8 +135,10 @@
 	 * @param errorHandler
 	 *            the handled used by the parser.
 	 * @return a document.
+	 * @throws ParserConfigurationException 
+	 * @throws SAXException 
 	 */
-	private Document getDocument(InputSource inputSource, ErrorHandler errorHandler) throws IOException {
+	private Document getDocument(InputSource inputSource, ErrorHandler errorHandler) throws IOException, ParserConfigurationException, SAXException {
 
 		Document document = null;
 
@@ -145,22 +147,11 @@
 		documentBuilderFactory.setValidating(false);
 
 		DocumentBuilder documentBuilder = null;
-		try {
-			documentBuilder = documentBuilderFactory.newDocumentBuilder();
-		}
-		catch (ParserConfigurationException e) {
-
-			e.printStackTrace();
-		}
+		documentBuilder = documentBuilderFactory.newDocumentBuilder();
 
 		documentBuilder.setErrorHandler(errorHandler);
 
-		try {
-			document = documentBuilder.parse(inputSource);
-		}
-		catch (SAXException e) {
-			e.printStackTrace();
-		}
+		document = documentBuilder.parse(inputSource);
 
 
 		return document;
diff --git a/tests/org.eclipse.wtp.tests.xerces/src/org/eclipse/wtp/tests/xerces/TestviaMain.java b/tests/org.eclipse.wtp.tests.xerces/src/org/eclipse/wtp/tests/xerces/TestviaMain.java
index 715bdd7..aa34140 100644
--- a/tests/org.eclipse.wtp.tests.xerces/src/org/eclipse/wtp/tests/xerces/TestviaMain.java
+++ b/tests/org.eclipse.wtp.tests.xerces/src/org/eclipse/wtp/tests/xerces/TestviaMain.java
@@ -12,9 +12,12 @@
 
 import java.io.IOException;
 
+import javax.xml.parsers.ParserConfigurationException;
 import javax.xml.transform.TransformerException;
 import javax.xml.transform.TransformerFactoryConfigurationError;
 
+import org.xml.sax.SAXException;
+
 
 
 /**
@@ -53,6 +56,12 @@
 		catch (IOException e) {
 			e.printStackTrace();
 		}
+		catch (ParserConfigurationException e) {
+			e.printStackTrace();
+		}
+		catch (SAXException e) {
+			e.printStackTrace();
+		}
 
 	}