unchecked exception

An exception type, extending RuntimeException, that the compiler does not force callers to catch or declare.

In more detail

Unchecked exceptions usually signal a programming mistake, invalid input or a broken invariant, such as NullPointerException or IllegalArgumentException. Frameworks like Spring prefer them, and the course translates checked storage failures into a domain-shaped runtime exception. Handling is left to a boundary that can make a sensible decision.

Example

static class StorageFailure extends RuntimeException { }

Related terms

Taught in

References

Certification courses