cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r180021 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/serialization/HTMLSerializer.java
Date Sat, 04 Jun 2005 20:59:58 GMT
Author: antonio
Date: Sat Jun  4 13:59:57 2005
New Revision: 180021

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

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/serialization/HTMLSerializer.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/serialization/HTMLSerializer.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/serialization/HTMLSerializer.java?rev=180021&r1=180020&r2=180021&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/serialization/HTMLSerializer.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/serialization/HTMLSerializer.java
Sat Jun  4 13:59:57 2005
@@ -50,7 +50,7 @@
      */
     public void configure(Configuration conf)
     throws ConfigurationException {
-        super.configure( conf );
+        super.configure(conf);
         this.format.put(OutputKeys.METHOD,"html");
     }
 
@@ -68,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