Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

stack trace

The report Java prints when an exception isn't handled, showing where it happened.

A stack trace lists the exception's type and message, then the chain of method calls active when it was thrown, innermost first, with file names and line numbers.

Examples

  • Exception in thread "main" java.lang.ArithmeticException: / by zero followed by at Share.main(Share.java:4).

Read the full section →