OSDN Git Service

use multi-catch.
[mikutoga/TogaGem.git] / src / main / java / jp / sfjp / mikutoga / typical / TypicalMorph.java
index ccf6eb0..d67de8e 100644 (file)
@@ -58,11 +58,7 @@ public final class TypicalMorph extends I18nAlias {
         Element top;
         try{
             top = I18nAlias.loadXml(is);
-        }catch(ParserConfigurationException e){
-            throw new ExceptionInInitializerError(e);
-        }catch(SAXException e){
-            throw new ExceptionInInitializerError(e);
-        }catch(IOException e){
+        }catch(ParserConfigurationException | SAXException | IOException e){
             throw new ExceptionInInitializerError(e);
         }