You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/09/25 16:49:33 UTC
svn commit: r579275 - in
/harmony/enhanced/classlib/trunk/depends/files/bcprov/org/bouncycastle/crypto/engines:
IDEAEngine.class IDEAEngine.java
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()