<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>posturan</author_name>
  <author_url>https://blog.hatena.ne.jp/posturan/</author_url>
  <blog_title>Oboe吹きプログラマの黙示録</blog_title>
  <blog_url>https://oboe2uran.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>先日、Java サブスレッドで発生する例外の捕捉を書いたので、ExecutorService を使用した時の方法を、 サンプルとして書く。 まず、スレッドプールに載せるスレッドのクラス、、 public class MyTask implements Runnable{ @Override public void run(){ try{ System.out.println(&quot;Hello! - &quot;+ Thread.currentThread().getId()); Thread.sleep(1 * 1000); System.out.println(&quot;Hello! - &quot;+ Thread.cu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2011%2F10%2F11%2F222831&quot; title=&quot;ExecutorService使用時の例外捕捉 - Oboe吹きプログラマの黙示録&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>2011-10-11 22:28:31</published>
  <title>ExecutorService使用時の例外捕捉</title>
  <type>rich</type>
  <url>https://oboe2uran.hatenablog.com/entry/2011/10/11/222831</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
