santiagopg    2003/12/04 12:44:51

  Modified:    java/src/org/apache/xml/serializer Encodings.java
  Log:
  Avoid RuntimeException(Throwable) as it is only available in JDK 1.4.
  
  Revision  Changes    Path
  1.6       +2 -2      
xml-xalan/java/src/org/apache/xml/serializer/Encodings.java
  
  Index: Encodings.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xml/serializer/Encodings.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Encodings.java    4 Dec 2003 18:52:38 -0000       1.5
  +++ Encodings.java    4 Dec 2003 20:44:51 -0000       1.6
  @@ -116,7 +116,7 @@
                           return 
charToByteConverterClass.getMethod("getConverter", argTypes);
                       }
                       catch (Exception e) {
  -                        throw new RuntimeException(e);
  +                        throw new RuntimeException(e.toString());
                       }
                   }});
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to