<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gloryof</author_name>
  <author_url>https://blog.hatena.ne.jp/gloryof/</author_url>
  <blog_title>シュンツのつまづき日記</blog_title>
  <blog_url>https://gloryof.hatenablog.com/</blog_url>
  <categories>
    <anon>JAX-RS1.1</anon>
  </categories>
  <description>【前提条件】 [環境] JDK 1.7.0_09 Glassfish 3.1.2 【参考サイト】 http://d.hatena.ne.jp/shin/20101004/p2 【概要】 JAX-RSで例外のマッピングの方法についてです。特定の例外をキャッチした場合、 今まではFilterで行うことが多かったのですが、 JAX-RSでは例外をマッピングして処理を行う機能がついています。javax.ws.rs.ext.ExceptionMapperインターフェイスを使用すると 例外と処理のマッピングが行えます。 【サンプルコード（例外クラス）】 今回、サンプルでは 独自に作成した例外クラスを使用し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgloryof.hatenablog.com%2Fentry%2F20130428%2F1367135684&quot; title=&quot;例外のマッピング - シュンツのつまづき日記&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>2013-04-28 16:54:44</published>
  <title>例外のマッピング</title>
  <type>rich</type>
  <url>https://gloryof.hatenablog.com/entry/20130428/1367135684</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
