Is IllegalStateException a checked exception?
As a child class of RuntimeException, IllegalStateException is an unchecked exception. It is not required to be declared in a method or constructor’s throws clause.
Is IllegalStateException a checked exception?
As a child class of RuntimeException, IllegalStateException is an unchecked exception. It is not required to be declared in a method or constructor’s throws clause.