サンプル
public
static
class
ClassA
throws
Error {
public
void
methodA {
throw new
Error();
}
解決策
スロー文節内で宣言されている各例外に対して専用 catch 文節を作成します。
public
static
class
ClassA
throws
Error {
public
void
methodA {
throw new
Error();
}