luehe 2002/08/19 18:37:30
Modified: jasper2/src/share/org/apache/jasper/compiler Generator.java
Log:
Removed javax.servlet.jsp.tagext.AttributeNotSupportedException
Revision Changes Path
1.70 +4 -13
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.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- Generator.java 20 Aug 2002 01:07:55 -0000 1.69
+++ Generator.java 20 Aug 2002 01:37:30 -0000 1.70
@@ -2433,8 +2433,6 @@
}
if (attrs[i].isDynamic()) {
- out.printil("try {");
- out.pushIndent();
out.printin(tagHandlerVar);
out.print(".");
out.print("setDynamicAttribute(\"");
@@ -2444,13 +2442,6 @@
out.print("\", ");
out.print(attrValue);
out.println(");");
- out.popIndent();
- out.printin("}"); // catch
- out.println(" catch
(javax.servlet.jsp.tagext.AttributeNotSupportedException e) {");
- out.pushIndent();
- out.printil("throw new javax.servlet.jsp.JspException(e);");
- out.popIndent();
- out.printil("}"); // catch
} else {
out.printin(tagHandlerVar);
out.print(".");
@@ -2934,7 +2925,7 @@
* variable can later be created for it.
*/
public void generateSetDynamicAttribute() {
- out.printil("public void setDynamicAttribute(String uri, String localName,
Object value) throws javax.servlet.jsp.tagext.AttributeNotSupportedException {");
+ out.printil("public void setDynamicAttribute(String uri, String localName,
Object value) throws javax.servlet.jsp.JspException {");
out.pushIndent();
out.printil("if (uri != null)");
out.pushIndent();
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>