RFR : 8153531: Improve exception messaging for RSAClientKeyExchange
Seán Coffey
sean.coffey at oracle.com
Tue Apr 5 18:23:22 UTC 2016
Some trivial updates to exception messages that should ease debugging
for future issues:
https://bugs.openjdk.java.net/browse/JDK-8153531
webrev : http://cr.openjdk.java.net/~coffeys/webrev.8153531/webrev/
one edit I thought I'd highlight:
I've converted this exception into an SSLException to make use of the 2
arg constructor :
> ! throw new SSLProtocolException(
> ! "Unable to process PreMasterSecret, may be too big");
I could use the initCause approach if necessary but figured that it
didn't matter.
--
Regards,
Sean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20160405/8fef122a/attachment.htm>
More information about the security-dev
mailing list