mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8264148: Update spec for exceptions retrofitted for exception chaining
Reviewed-by: rriggs, smarks
This commit is contained in:
parent
353807c5f1
commit
815248ab27
22 changed files with 40 additions and 76 deletions
|
@ -127,7 +127,7 @@ public class CRLExtensions {
|
|||
throw new CRLException("Duplicate extensions not allowed");
|
||||
}
|
||||
} catch (InvocationTargetException invk) {
|
||||
throw new CRLException(invk.getTargetException().getMessage());
|
||||
throw new CRLException(invk.getCause().getMessage());
|
||||
} catch (Exception e) {
|
||||
throw new CRLException(e.toString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue