mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8296226: Add constructors (String,Throwable) and (Throwable) to InvalidParameterException
Reviewed-by: mullan, mdoerr
This commit is contained in:
parent
51f8e9b0e1
commit
8836b92593
8 changed files with 60 additions and 13 deletions
|
@ -87,7 +87,7 @@ abstract class RSAKeyPairGenerator extends KeyPairGeneratorSpi {
|
|||
initialize(new RSAKeyGenParameterSpec(keySize,
|
||||
RSAKeyGenParameterSpec.F4), random);
|
||||
} catch (InvalidAlgorithmParameterException iape) {
|
||||
throw new InvalidParameterException(iape.getMessage());
|
||||
throw new InvalidParameterException(iape);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue