morgand 2003/01/24 11:27:26
Modified: jelly/src/java/org/apache/commons/jelly TagSupport.java
Log:
implementing JellyTagException as an script execution time version of
JellyException
Revision Changes Path
1.23 +8 -8
jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/TagSupport.java
Index: TagSupport.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/TagSupport.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- TagSupport.java 24 Jan 2003 19:03:24 -0000 1.22
+++ TagSupport.java 24 Jan 2003 19:27:25 -0000 1.23
@@ -280,12 +280,12 @@
*
* @return the text evaluation of the body
*/
- protected String getBodyText(boolean shouldEscape) throws JellyException {
+ protected String getBodyText(boolean shouldEscape) throws JellyTagException {
StringWriter writer = new StringWriter();
try {
- invokeBody(XMLOutput.createXMLOutput(writer,shouldEscape));
+ invokeBody(XMLOutput.createXMLOutput(writer,shouldEscape));
} catch (UnsupportedEncodingException e) {
- throw new JellyException(e.toString());
+ throw new JellyTagException(e.toString());
}
return writer.toString();
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>