]> gcc.gnu.org Git - gcc.git/blobdiff - libjava/java/security/AlgorithmParameters.java
AlgorithmParameterGenerator.java, [...]: Import statements reorganized...
[gcc.git] / libjava / java / security / AlgorithmParameters.java
index 07d76bb7bab0b1a57b573f07b62076279194b57c..9671907342ed0e87f16111c36db74d9d109170d0 100644 (file)
@@ -71,7 +71,7 @@ import gnu.java.security.Engine;
  * parameter specification or parameter encoding.</p>
  *
  * <p>A transparent parameter specification is obtained from an
- * <ocde>AlgorithmParameters</code> object via a call to
+ * <code>AlgorithmParameters</code> object via a call to
  * <code>getParameterSpec()</code>, and a byte encoding of the parameters is
  * obtained via a call to <code>getEncoded()</code>.</p>
  *
@@ -136,12 +136,16 @@ public class AlgorithmParameters
     throws NoSuchAlgorithmException
   {
     Provider[] p = Security.getProviders();
+
     for (int i = 0; i < p.length; i++)
       try
         {
           return getInstance(algorithm, p[i]);
         }
-      catch (NoSuchAlgorithmException ignored) {}
+      catch (NoSuchAlgorithmException e)
+       {
+         // Ignore this.
+       }
 
     throw new NoSuchAlgorithmException(algorithm);
   }
This page took 0.026156 seconds and 5 git commands to generate.