directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1044408 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java
Date Fri, 10 Dec 2010 15:47:19 GMT
Author: elecharny
Date: Fri Dec 10 15:47:19 2010
New Revision: 1044408

URL: http://svn.apache.org/viewvc?rev=1044408&view=rev
Log:
Fixed a compatibility issue : OException(String, Throwable) is only available in Java 6. Thanks
to Antoine for the heads up 

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java?rev=1044408&r1=1044407&r2=1044408&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/protocol/KerberosEncoder.java
Fri Dec 10 15:47:19 2010
@@ -51,7 +51,7 @@ public class KerberosEncoder extends Pro
         }
         catch( EncoderException e )
         {
-            throw new IOException(e.getMessage(), e);
+            throw new IOException(e.getMessage());
         }
     }
 }



Mime
View raw message