All languages

Java

You're viewing a free preview. Sign in free to read every script.

Why this exists Every Java stack trace you read in a log came from an exception, and how it was thrown and wrapped decides whether the trace explains the failure or hides it. Resource handling matters as much:…

Java Basics: Exceptions, try-with-resources and Failing Well

Checked versus unchecked exceptions, throwing and wrapping with a cause, custom exceptions, finally, and try-with-resources for files and connections. The habits that make production stack traces useful instead of misleading.

Sign in free to read this script, along with the rest of the library.

Sign in free