santiagopg 2002/10/15 16:15:11
Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
Log:
A RuntimeException cannot be constructed from a Throwable with JDKs
prior to 1.4.
Revision Changes Path
1.54 +2 -3
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/BasisLibrary.java
Index: BasisLibrary.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/BasisLibrary.java,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- BasisLibrary.java 15 Oct 2002 17:55:07 -0000 1.53
+++ BasisLibrary.java 15 Oct 2002 23:15:11 -0000 1.54
@@ -1175,7 +1175,6 @@
runTimeError(RUN_TIME_COPY_ERR);
}
}
-
/**
* Utility function for the implementation of xsl:element.
@@ -1210,7 +1209,7 @@
handler.startElement(qname);
}
catch (TransletException e) {
- throw new RuntimeException(e);
+ throw new RuntimeException(e.getMessage());
}
return qname;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]