Skip to content

Glossary: Java Beyond the Basics

RuntimeException

Also written: unchecked exception, checked exception

The parent class of unchecked exceptions such as IllegalArgumentException, which you needn't declare. Extend Exception instead for a checked one the compiler makes you handle.

Where the book teaches it

Related terms

Custom exceptionIOException