<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>andengineer</author_name>
  <author_url>https://blog.hatena.ne.jp/andengineer/</author_url>
  <blog_title>アンドエンジニア - エンジニアのこと、エンジニアから。</blog_title>
  <blog_url>https://tenshoku.mynavi.jp/engineer/guide/</blog_url>
  <categories>
    <anon>言語・開発</anon>
    <anon>プログラミング言語</anon>
    <anon>Java</anon>
  </categories>
  <description>例外を処理する – try…catch命令 try {tstatements} catch(exclazz ex) {cstatements} tstatements：例外が発生する可能性がある処理 exclazz：例外クラス ex：例外クラスを表す変数名 cstatements：例外が発生した時に実行される処理 コードの中で発生するかもしれない例外をあらかじめ把握し、発生時になんらかの処理（たとえばログへの記録など）を行うことを例外処理と言います。例外処理には、try…catch…finally命令を利用します。 たとえば以下は、ファイル処理で指定のファイルが存在しなかった場合に、その旨をメ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftenshoku.mynavi.jp%2Fengineer%2Fguide%2Farticles%2Fjava-code%2Fcategory_exception%2F02&quot; title=&quot;【Javaコード入門】例外処理_②try…catch命令 - アンドエンジニア - エンジニアのこと、エンジニアから。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-30 11:57:58</published>
  <title>【Javaコード入門】例外処理_②try…catch命令</title>
  <type>rich</type>
  <url>https://tenshoku.mynavi.jp/engineer/guide/articles/java-code/category_exception/02</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
