final LookAndFeel lnf;
try{
lnf = (LookAndFeel) ( lnfClass.newInstance() );
- }catch(InstantiationException e){
- String warnMsg = MessageFormat.format(ERRFORM_LAF, className);
- warnDialog(ERRTITLE_LAF, warnMsg, e);
- return;
- }catch(IllegalAccessException e){
- String warnMsg = MessageFormat.format(ERRFORM_LAF, className);
- warnDialog(ERRTITLE_LAF, warnMsg, e);
- return;
- }catch(ClassCastException e){
+ }catch( InstantiationException
+ | IllegalAccessException
+ | ClassCastException
+ e){
String warnMsg = MessageFormat.format(ERRFORM_LAF, className);
warnDialog(ERRTITLE_LAF, warnMsg, e);
return;
return;
}
});
- }catch(InvocationTargetException e){
- LOGGER.log(Level.SEVERE,
- "タブ操作で致命的な障害が発生しました", e);
- }catch(InterruptedException e){
+ }catch(InvocationTargetException | InterruptedException e){
LOGGER.log(Level.SEVERE,
"タブ操作で致命的な障害が発生しました", e);
}
return;
}
});
- }catch(InvocationTargetException e){
- LOGGER.log(Level.SEVERE,
- "ブラウザ表示で致命的な障害が発生しました",
- e );
- }catch(InterruptedException e){
+ }catch( InvocationTargetException
+ | InterruptedException
+ e){
LOGGER.log(Level.SEVERE,
"ブラウザ表示で致命的な障害が発生しました",
e );
}else{
try{
SwingUtilities.invokeAndWait(microJob);
- }catch(InvocationTargetException e){
- LOGGER.log(Level.SEVERE, "ビジー処理で失敗", e);
- }catch(InterruptedException e){
+ }catch(InvocationTargetException | InterruptedException e){
LOGGER.log(Level.SEVERE, "ビジー処理で失敗", e);
}
}
try{
DocumentBuilder builder = XmlUtils.createDocumentBuilder();
predefs = PreDefAvatar.buildPreDefAvatarList(builder);
- }catch(IOException e){
- throw new ExceptionInInitializerError(e);
- }catch(ParserConfigurationException e){
- throw new ExceptionInInitializerError(e);
- }catch(SAXException e){
- throw new ExceptionInInitializerError(e);
- }catch(URISyntaxException e){
+ }catch( IOException
+ | ParserConfigurationException
+ | SAXException
+ | URISyntaxException
+ e){
throw new ExceptionInInitializerError(e);
}
try{
DocumentBuilder builder = XmlUtils.createDocumentBuilder();
landDefList = LandDef.buildLandDefList(builder);
- }catch(IOException e){
- LOGGER.log(Level.SEVERE, "failed to load land list", e);
- return;
- }catch(SAXException e){
- LOGGER.log(Level.SEVERE, "failed to load land list", e);
- return;
- }catch(URISyntaxException e){
- LOGGER.log(Level.SEVERE, "failed to load land list", e);
- return;
- }catch(ParserConfigurationException e){
+ }catch( IOException
+ | SAXException
+ | URISyntaxException
+ | ParserConfigurationException
+ e){
LOGGER.log(Level.SEVERE, "failed to load land list", e);
return;
}