Collapse identical catch blocks

Closes gh-14213
This commit is contained in:
dreis2211 2018-08-27 17:50:21 +02:00 committed by Stephane Nicoll
parent af426e383f
commit 70add0617a
1 changed files with 1 additions and 4 deletions

View File

@ -84,10 +84,7 @@ class SslBuilderCustomizer implements UndertowBuilderCustomizer {
Sequence.of(this.ssl.getCiphers()));
}
}
catch (NoSuchAlgorithmException ex) {
throw new IllegalStateException(ex);
}
catch (KeyManagementException ex) {
catch (NoSuchAlgorithmException | KeyManagementException ex) {
throw new IllegalStateException(ex);
}
}