harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r579275 - in /harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines: IDEAEngine.class IDEAEngine.java
Date Tue, 25 Sep 2007 14:49:33 GMT
Author: hindessm
Date: Tue Sep 25 07:49:29 2007
New Revision: 579275

URL: http://svn.apache.org/viewvc?rev=579275&view=rev
Log:
Adding link to website to exception message.

Modified:
    harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.class
    harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java

Modified: harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.class
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.class?rev=579275&r1=579274&r2=579275&view=diff
==============================================================================
Binary files - no diff available.

Modified: harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java?rev=579275&r1=579274&r2=579275&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java
(original)
+++ harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java
Tue Sep 25 07:49:29 2007
@@ -23,13 +23,17 @@
 public class IDEAEngine implements BlockCipher
 {
 
+    private static String message =
+        "IDEA not supported see "+
+          "http://harmony.apache.org/documentation/idea_algorithm.html";
+
     public IDEAEngine()
     {
     }
 
     public void init(boolean forEncryption, CipherParameters params)
     {
-        throw new IllegalArgumentException("IDEA not supported");
+        throw new IllegalArgumentException(message);
     }
 
     public String getAlgorithmName()
@@ -44,7 +48,7 @@
 
     public int processBlock(byte[] in, int inOff, byte[] out, int outOff)
     {
-        throw new IllegalStateException("IDEA not supported");
+        throw new IllegalStateException(message);
     }
 
     public void reset()



Mime
View raw message