<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ovjang</author_name>
  <author_url>https://blog.hatena.ne.jp/ovjang/</author_url>
  <blog_title>黒色槍騎兵のiPhoneアプリ開発日記</blog_title>
  <blog_url>https://ovjang.hatenadiary.org/</blog_url>
  <categories>
    <anon>sqlite</anon>
    <anon>iPhone</anon>
  </categories>
  <description>今回はDBのエラー処理を実装していきます。エラー処理を放置していましたので作りこんで行きます。 基本方針として、メソッド毎に戻り値を見てエラー処理をするのは面倒なので、try catchを使ってエラーをさばいていくことにします。 try catchを使えば、try {}の間で、例外(Exception)が発生したら。catch {]に飛びその中でエラー処理することができます。 準備として、DB用の例外クラスを作成します。Exceptionのクラス型ごとにcatch節を書くことができるので、エラー処理を振り分けるためです。 NSExceptionを派生させて、エラーのコードど発生元のメソッド名を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fovjang.hatenadiary.org%2Fentry%2F20110309%2F1299686992&quot; title=&quot;iPhoneでSQLite3を使う6(DBのエラー処理) - 黒色槍騎兵のiPhoneアプリ開発日記&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-03-09 01:09:52</published>
  <title>iPhoneでSQLite3を使う6(DBのエラー処理)</title>
  <type>rich</type>
  <url>https://ovjang.hatenadiary.org/entry/20110309/1299686992</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
