{"blog_url":"https://unageanu.hatenablog.com/","author_name":"unageanu","type":"rich","version":"1.0","width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20081008%2F1223478437\" title=\" \u4f8b\u5916\u3092\u578b\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u6e21\u3059 - \u3046\u306a\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Java"],"height":"190","author_url":"https://blog.hatena.ne.jp/unageanu/","image_url":null,"published":"2008-10-08 00:07:17","description":"\u30e1\u30bd\u30c3\u30c9\u304c\u30b9\u30ed\u30fc\u3059\u308b\u4f8b\u5916\u3092\u578b\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u308a\u3057\u307e\u3059\u3002 // \u578b\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u30b9\u30ed\u30fc\u3059\u308b\u4f8b\u5916\u3092\u6307\u5b9a\u3067\u304d\u308b\u30af\u30e9\u30b9 class Proc<E extends Exception> { void call() throws E {} } Proc<IOException> a = null; Proc<IllegalArgumentException> b = null; // a\u306fIOException\u3092\u30b9\u30ed\u30fc\u3059\u308b\u306e\u3067\u30ad\u30e3\u30c3\u30c1\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044 try { a.call(); } catch (IOException e) { } // a\u306fRuntimeException\u3092\u30b9\u30ed\u30fc\u3059\u308b\u2026","title":" \u4f8b\u5916\u3092\u578b\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u6e21\u3059","url":"https://unageanu.hatenablog.com/entry/20081008/1223478437","blog_title":"\u3046\u306a\u306e\u65e5\u8a18"}