cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r180025 - /cocoon/trunk/src/java/org/apache/cocoon/serialization/HTMLSerializer.java
Date Sat, 04 Jun 2005 21:08:47 GMT
Author: antonio
Date: Sat Jun  4 14:08:46 2005
New Revision: 180025

URL: http://svn.apache.org/viewcvs?rev=180025&view=rev
Log:
Improve messsage

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/serialization/HTMLSerializer.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/serialization/HTMLSerializer.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/serialization/HTMLSerializer.java?rev=180025&r1=180024&r2=180025&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/serialization/HTMLSerializer.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/serialization/HTMLSerializer.java Sat Jun  4 14:08:46
2005
@@ -33,6 +33,7 @@
  * @cocoon.sitemap.component.logger sitemap.serializer.html
  * 
  * @cocoon.sitemap.component.pooling.max  32
+ * 
  * @cocoon.sitemap.component.configuration
  * <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
  * <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
@@ -49,7 +50,7 @@
      */
     public void configure(Configuration conf)
     throws ConfigurationException {
-        super.configure( conf );
+        super.configure(conf);
         this.format.put(OutputKeys.METHOD,"html");
     }
 
@@ -67,8 +68,8 @@
             this.setContentHandler(handler);
             this.setLexicalHandler(handler);
         } catch (Exception e) {
-            throw new CascadingIOException(e.toString(), e);
+            final String message = "Cannot set HTMLSerializer outputstream"; 
+            throw new CascadingIOException(message, e);
         }
     }
-
 }



Mime
View raw message