luehe 2002/10/30 18:11:40
Modified: jasper2/src/share/org/apache/jasper/compiler Generator.java
Log:
Stop using the RuntimeException constructor that takes a String and an
exception object, as it is not available on J2SE 1.3 (notice that the JDK
requirement for JSP 2.0 was recently downgraded from J2SE 1.4 to J2SE 1.3).
Revision Changes Path
1.114 +4 -4
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
Index: Generator.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- Generator.java 30 Oct 2002 17:41:22 -0000 1.113
+++ Generator.java 31 Oct 2002 02:11:40 -0000 1.114
@@ -614,7 +614,7 @@
out.pushIndent();
out.printil( "throw new RuntimeException( \"" +
"Invalid function mapping - no such method: \" + " +
- "e.getMessage(), e );" );
+ "e.getMessage());" );
out.popIndent();
out.printil( "}" );
out.popIndent();
--
To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>