티스토리 뷰

Checked Exception

: 컴파일 시점에 체크된 exception

: runtime exception을 상속하지 않음, 명시적으로 꼭 처리해야 함

 

  • IOException
  • SQLException
  • DataAccessException
  • ClassNotFoundException
  • InvocationTargetException
  • MalformedURLException

UnCheckedException

: 런타임 시점에 체크된 exception

: runtime exception을 상속함 

 

참고 : 

 

자바 예외 구분: Checked Exception, Unchecked Exception

자바에서 예외는 어떻게 구분할까? Checked Exception과 Unchecked Exception의 차이는 무엇일까?

madplay.github.io

crunchify.com/better-understanding-on-checked-vs-unchecked-exceptions-how-to-handle-exception-better-way-in-java/

 

Better Understanding on Checked Vs. Unchecked Exceptions - How to Handle Exception Better Way in Java? • Crunchify

Checked Exception What is Checked Exception in Java Programming language. In simple language: Exception which are checked at Compile time called Checked

crunchify.com

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함