If I create an exception class that extends
Exception, will my class be checked or unchecked? I note that the subclass ofExceptioncalledRuntimeExceptionis an unchecked exception whereas all other subclasses of 'Exception' are checked exceptions.If I create an exception class that extends
RuntimeException, can I specify that this class is checked?
-
1Answered by docs.oracle.com/javase/tutorial/essential/exceptions/…Dawood ibn Kareem– Dawood ibn Kareem2015-04-21 05:25:13 +00:00Commented Apr 21, 2015 at 5:25
Add a comment
|

