Skip to content

Glossary: Java Basics

IOException

Also written: throws

A checked exception that reading a file can throw. You must catch it or add `throws IOException` to the method's first line to pass it to the caller.

Where the book teaches it

Related terms

Checked exceptioncatch