3 ms·
You can declare your runtime exceptions too. The compiler won’t enforce you to catch them though. void fn() throws IllegalStateException
by vips7L 5mo ago
You can declare your runtime exceptions too. The compiler won’t enforce you to catch them though.
void fn() throws IllegalStateException