We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f93b18f commit 2c4c6c9Copy full SHA for 2c4c6c9
src/java.base/share/classes/sun/security/pkcs10/PKCS10.java
@@ -23,7 +23,6 @@
23
* questions.
24
*/
25
26
-
27
package sun.security.pkcs10;
28
29
import java.io.PrintStream;
@@ -174,7 +173,7 @@ public PKCS10(byte[] data)
174
173
throw new SignatureException("Invalid PKCS #10 signature");
175
}
176
} catch (InvalidKeyException e) {
177
- throw new SignatureException("Invalid key");
+ throw new SignatureException("Invalid key", e);
178
} catch (InvalidAlgorithmParameterException e) {
179
throw new SignatureException("Invalid signature parameters", e);
180
} catch (ProviderException e) {
0 commit comments