tmiller 01/10/15 10:14:23
Modified: java/src/org/apache/xalan/xsltc/trax
TransformerFactoryImpl.java
Log:
added catch for malformed url
Revision Changes Path
1.25 +4 -1
xml-xalan/java/src/org/apache/xalan/xsltc/trax/TransformerFactoryImpl.java
Index: TransformerFactoryImpl.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/trax/TransformerFactoryImpl.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- TransformerFactoryImpl.java 2001/10/12 19:07:39 1.24
+++ TransformerFactoryImpl.java 2001/10/15 17:14:23 1.25
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: TransformerFactoryImpl.java,v 1.24 2001/10/12 19:07:39 tmiller
Exp $
+ * @(#)$Id: TransformerFactoryImpl.java,v 1.25 2001/10/15 17:14:23 tmiller
Exp $
*
* The Apache Software License, Version 1.1
*
@@ -445,6 +445,9 @@
throw new TransformerConfigurationException(NO_SOURCE_ERR);
}
catch (SecurityException e) {
+ throw new TransformerConfigurationException(NO_ACCESS_ERR+systemId);
+ }
+ catch (MalformedURLException e){
throw new TransformerConfigurationException(NO_ACCESS_ERR+systemId);
}
finally {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]