RuntimeException
클래스를 상속받지 않는, Exception
클래스의 하위 클래스.ex) IOException
은 RuntimeException
을 상속받지 않고, Exception 클래스만을 상속받기 때문에 CheckedException
이다.
RuntimeException
클래스를 상속받는 클래스.
명시적인 처리를 강제하지 않음
IllegalArgumentException
은 RuntimeException
을 상속받기 때문에 UnCheckedException
이다.