<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>frontline</author_name>
  <author_url>https://blog.hatena.ne.jp/frontline/</author_url>
  <blog_title>misc.log</blog_title>
  <blog_url>https://www.backyrd.net/</blog_url>
  <categories>
    <anon>業務日誌</anon>
  </categories>
  <description>MockのExpectの記述中、andThrowで例外を投げる際に、独自に定義した例外を投げないと行けない場合があります。そこで、下記の処理がチーム内で用いられているのですが……この仕組みは別途考えましょう。とりあえず今はおまじないとしてそのまま使わせてもらいます……。 // MyExceptionを作成する final String TEST_MESSAGE = &quot;Test Error Message&quot;; MockErrorCase errorCase = new MockErrorCase(&quot;ID&quot;); MyException exception = new MyException((Er…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.backyrd.net%2Fentry%2F20110405%2Fp3&quot; title=&quot; EasyMockで独自のExceptionオブジェクトを作る - misc.log&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-04-05 00:00:02</published>
  <title> EasyMockで独自のExceptionオブジェクトを作る</title>
  <type>rich</type>
  <url>https://www.backyrd.net/entry/20110405/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
