2015-02-27から1日間の記事一覧
try節の中に例外がおこりうる処理を記述。catch節にて例外オブジェクトを受け取る。 ArrayIndexOutOfBoundsExceptionとIndexOutOfBoundsExceptionを記述。 上記の順番で書くとコンパイルエラー発生。 ArrayIndexOutOfBoundsException の到達不可能な catch …
try節の中に例外がおこりうる処理を記述。catch節にて例外オブジェクトを受け取る。 ArrayIndexOutOfBoundsExceptionとIndexOutOfBoundsExceptionを記述。 上記の順番で書くとコンパイルエラー発生。 ArrayIndexOutOfBoundsException の到達不可能な catch …