checked exception & unchecked exception
JavaのExceptionには二つの種類がある
unchecked exception
- RuntimeExceptionを承継したexceptionクラス
checked exception
- checked exception以外のexceptionクラス
◯例外を回避するときは必ず意図がはっきりしなか行けない。
JavaのExceptionには二つの種類がある
unchecked exception
- RuntimeExceptionを承継したexceptionクラス
checked exception
- checked exception以外のexceptionクラス
◯例外を回避するときは必ず意図がはっきりしなか行けない。