IOException ã® catch ã«ä½ãæ¸ãã¦ãããåããã¾ããï¼ï¼ï¼ ã¯ããã« é çªãåå¾ãã¾ãããä»å㯠Java ã®ç¹å¾´ã®ã²ã¨ã¤ã§ããä¾å¤æ©æ§ã«ã¤ãã¦ã§ãã ä»åã®ç¯å² 223 ãã¼ã¸ ã 250 ãã¼ã¸ ååã¯ãã¡ã Effective Java èªæ¸ä¼ 12 æ¥ç® ãã¹ã¬ããã»ã»ã¼ãã£ã¦ãªã«ãï¼ï¼ã - ITæ¦è¨ Java ã®ä¾å¤ throw å¯è½ãªãªãã¸ã§ã¯ã Throwable ã¤ã³ã¿ãã§ã¼ã¹ãå®è£ ãããã® Exception ãç¶æ¿ããªã Throwable ã¯åºæ¬çã«ä½¿ããªã ãã§ãã¯ä¾å¤ ã¡ã½ããã®å®è£ è ããå¼ã³åºãå ãå復å¯è½ãã ã¨èãã¦ããä¾å¤ ã¡ããã¨ããªããä¾å¤ã ã£ãã®ããçç±ãæä¾ãããã¹ã å¼ã³åºãå 㯠try catch ã§å²ãã throws 宣è¨ãæ¸ãå¿ è¦ããã Exception ãç¶æ¿ãã¦ã㦠RuntimeException ãç¶æ¿ãã¦ããª
{{#tags}}- {{label}}
{{/tags}}