pepness commented on code in PR #4454:
URL: https://github.com/apache/netbeans/pull/4454#discussion_r943753721
##########
enterprise/tomcat5/src/org/netbeans/modules/tomcat5/TomcatFactory.java:
##########
@@ -227,15 +227,7 @@ public static String getTomcatVersionString(File
catalinaHome) throws IllegalSta
return version.substring(idx + 1);
}
throw new IllegalStateException("Cannot identify the version of
the server."); // NOI18N
- } catch (MalformedURLException e) {
- throw new IllegalStateException(e);
- } catch (ClassNotFoundException e) {
- throw new IllegalStateException(e);
- } catch (NoSuchMethodException e) {
- throw new IllegalStateException(e);
- } catch (InvocationTargetException e) {
- throw new IllegalStateException(e);
- } catch (IllegalAccessException e) {
+ } catch (MalformedURLException | ClassNotFoundException |
NoSuchMethodException | InvocationTargetException | IllegalAccessException e) {
Review Comment:
Thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists