Skip to content

Glossary: Java Beyond the Basics

Cause

Also written: exception chaining, chained exception

The original exception passed along when you catch one and throw another, as in new IllegalArgumentException("bad line 4", e). The stack trace shows it under Caused by:.

Where the book teaches it

Related terms

Custom exceptionExecutionExceptionStack trace