LoginSignup
0
1

More than 3 years have passed since last update.

例外処理が必須なクラス

Posted at

チェック例外とは、開くべきはずのファイルがない等、
プログラムの不具合とは関係なく、 状況によっては発生しうる状況とされるもので、例外処理が必須となります。

ClassNotFondException

Excptionクラスのサブクラス。
クラスをロード出来ない場合に発生します。
例外処理は必須です。

IOException

Exceptionクラスのサブクラス。
入出力機能を使用する場合に発生します。
例外処理は必須です。

FileNotFoundException

Exceptionクラスのサブクラス。
ファイルに対する読み書きを行う際、対象のファイルが存在しない場合に発生します。
例外処理は必須です。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1