Tagged articles

Unchecked Exception

3 articles · Page 1 of 1
Selected Java Interview Questions
Selected Java Interview Questions
Apr 14, 2026 · Backend Development

Mastering Java Exception Hierarchy: From Checked to Unchecked and Best Practices

This guide explains Java's exception inheritance tree, the design intent behind checked and unchecked exceptions, proper handling strategies, common pitfalls, and interview‑ready answers to high‑frequency questions, helping developers write robust, maintainable backend code.

Checked ExceptionException HandlingInterview Preparation
0 likes · 8 min read
Mastering Java Exception Hierarchy: From Checked to Unchecked and Best Practices
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Aug 16, 2021 · Fundamentals

Java and Kotlin Exception Handling Best Practices

To improve Java‑Kotlin interoperability, the article recommends treating Kotlin exceptions as unchecked while enforcing Java‑style checked‑exception discipline through lint checks, using specific custom exceptions, avoiding broad catches or throws of Throwable, logging via a Monitor, and never returning from finally blocks to reduce crashes.

Checked ExceptionException HandlingKotlin
0 likes · 9 min read
Java and Kotlin Exception Handling Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Aug 11, 2020 · Fundamentals

Understanding Java Exception Handling: Checked vs Unchecked Exceptions

This article explains Java exception handling by distinguishing checked and unchecked exceptions, demonstrates compilation outcomes for different exception types, and provides practical guidelines, code examples, and best practices for declaring, catching, and throwing exceptions in Java programs.

Checked ExceptionProgramming FundamentalsUnchecked Exception
0 likes · 9 min read
Understanding Java Exception Handling: Checked vs Unchecked Exceptions