{"categories":[".net"],"title":"C#\u4f8b\u5916\u51e6\u7406\u3067\u306ethrow\u3068throw ex\u306e\u9055\u3044","height":"190","blog_title":"\u3042\u304a\u304d\u306eTech\u30e1\u30e2","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Faoki1210.hatenablog.jp%2Fentry%2F20091007%2Fp1\" title=\"C#\u4f8b\u5916\u51e6\u7406\u3067\u306ethrow\u3068throw ex\u306e\u9055\u3044 - \u3042\u304a\u304d\u306eTech\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","provider_name":"Hatena Blog","published":"2009-10-07 00:00:00","author_url":"https://blog.hatena.ne.jp/aoki1210/","author_name":"aoki1210","version":"1.0","url":"https://aoki1210.hatenablog.jp/entry/20091007/p1","blog_url":"https://aoki1210.hatenablog.jp/","description":"C#\u306e\u4f8b\u5916\u51e6\u7406\u306b\u304a\u3051\u308bThrow\u306e\u6271\u3044\u65b9\u306e\u9055\u3044\u306e\u30e1\u30e2\u3002 C#/VB.NET\u3067\u306f\u3001\u300cthrow;\u300d\u3092\u4f7f\u3046\u307b\u3046\u304c\u63a8\u5968\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002\u300cthrow ex;\u300d\u3092\u4f7f\u3046\u3068\u305d\u308c\u307e\u3067\u306e\u60c5\u5831\uff08\u30b9\u30bf\u30c3\u30af\u30c8\u30ec\u30fc\u30b9\u3084InnerException\uff09\u304c\u30af\u30ea\u30a2\u3055\u308c\u307e\u3059\u3002 \u4ee5\u4e0b\u306f\u3001\u305d\u306e\u78ba\u8a8d\u30b3\u30fc\u30c9\u3067\u3059\u3002 //\u30bc\u30ed\u9664\u7b97\u30a8\u30e9\u30fc\u3092\u767a\u751f\u3055\u305b\u308b\u95a2\u6570 private void ZeroDivide() { int zero = 0; int err = 1 / zero; } //ex\u3092\u4ed8\u3051\u3066Throw\u3059\u308b\u95a2\u6570 private void ThrowEx() { try { ZeroDivide(); } catch (Excepti\u2026","image_url":null}