* 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>
*
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);
}