OSDN Git Service

use multi-catch.
[mikutoga/TogaGem.git] / src / main / java / jp / sfjp / mikutoga / typical / TypicalBone.java
index 371d7ea..c463fc1 100644 (file)
@@ -52,11 +52,7 @@ public final class TypicalBone 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);
         }