This is a cache of http://dbflute.seasar.org/ja/manual/topic/programming/java/exception.html. It is a snapshot of the page at 2024-11-01T00:41:03.241+0000.
Java - Exception (例外) | <strong>dbflute</strong>

Java - Exception (例外)

例外クラスの継承構造

コピーして自身のテキストエディターで見たほうが見やすいです。

e.g. exception class model @Java

                           +-----------------+
                           |                 |
                  +------------------+       |
                  |     Throwable    | <>----+
                  +------------------+
                           △ 
                           |
            +------------------------------+
            |                              |
   +--------------------+        +-------------------+
   |       Error        |        |    Exception      |
   +--------------------+        +-------------------+
     NoSuchMethodError                    △ 
     OutOfMemoryError                     |
                           +------------------------------+
                           |                              |
                 +--------------------+        +-------------------+
                 |  RuntimeException  |        |    XxxException   |
                 +--------------------+        +-------------------+
                           △                 IOException, SQLException
                           |
                   NullPointerException            
                   IllegalStateException

例外の翻訳

コピーして自身のテキストエディターで見たほうが見やすいです。

e.g. translation of exception @Java

                 catch        catch        catch
     <---- 例外  /      例外  /     例外    /    例外
             \ /         \ /          \ /       |
   o          |           |            |         \
  /|\   ->    A     ->    B    ->     C      ->      D -> D'
  /\           |     |        PK           ^^v
               |     |                     も
               +設定ファイル (PK)