merge the catches.
catch(InvocationTargetException | InterruptionException e) {
  ...
}