# Checked Exception

An exception the compiler requires code to catch or declare.

## What is **Checked Exception** in Java?

**Checked Exception** — An exception the compiler requires code to catch or declare.

```java
import java.io.IOException;

class OrderReader {
    String read() throws IOException {
        throw new IOException("Unavailable");
    }
}
```

Level: Journeyman · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/journeyman)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/checked-exception
