Tagged articles

Checked Exceptions

6 articles · Page 1 of 1
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 7, 2021 · Fundamentals

Mastering Java Exceptions: From Basics to Best Practices

This article provides a comprehensive overview of Java's exception architecture, detailing the hierarchy of Throwable, Error, and Exception, distinguishing checked and unchecked exceptions, explaining key keywords, and offering best practices with code examples for effective error handling.

Checked ExceptionsJavaUnchecked Exceptions
0 likes · 32 min read
Mastering Java Exceptions: From Basics to Best Practices
Senior Brother's Insights
Senior Brother's Insights
Mar 25, 2021 · Fundamentals

Top 10 Java Exception Pitfalls Every Developer Should Know

This article compiles the ten most common Java exception questions, covering checked vs unchecked differences, best‑practice guidelines, variable scope in try‑catch, inconsistent null parsing errors, frequent runtime exceptions, multi‑catch syntax, constructor throws, finally‑block behavior, and why developers sometimes ignore exceptions.

Checked ExceptionsJavaUnchecked Exceptions
0 likes · 9 min read
Top 10 Java Exception Pitfalls Every Developer Should Know
Selected Java Interview Questions
Selected Java Interview Questions
Mar 22, 2021 · Backend Development

Introduction to Java Exceptions and Best Practices

This article provides a comprehensive overview of Java's exception mechanism, covering the Throwable hierarchy, the differences between Errors, checked and unchecked Exceptions, key keywords, common interview questions, and a collection of best‑practice guidelines with illustrative code examples.

Checked ExceptionsJavaThrow
0 likes · 32 min read
Introduction to Java Exceptions and Best Practices
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 6, 2020 · Fundamentals

When Should You Use Exceptions in Java? Best Practices Explained

This article explains the proper use of Java exceptions, distinguishing between checked and unchecked exceptions, showing when to throw them, how to design APIs that avoid misuse, and offering guidelines for documenting and handling exceptions effectively.

API designChecked ExceptionsUnchecked Exceptions
0 likes · 11 min read
When Should You Use Exceptions in Java? Best Practices Explained
Qunar Tech Salon
Qunar Tech Salon
Dec 5, 2014 · Fundamentals

10 Surprising Java Language Features You Might Not Know

This article reveals ten little‑known quirks of the Java language—such as the illusion of checked exceptions, overloads with differing return types, bridge methods, confusing array syntax, type‑use annotations, compound assignment nuances, hidden goto‑like control flow, type aliases, undecidable generic relationships, and type intersections—illustrated with concrete code examples.

Checked ExceptionsJavabridge methods
0 likes · 13 min read
10 Surprising Java Language Features You Might Not Know