The Artima Developer Community
Sponsored Link

Java Buzz Forum
Are checked exceptions good or bad?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Are checked exceptions good or bad? Posted: Nov 16, 2016 11:21 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Are checked exceptions good or bad?
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement

Java supports checked exceptions. This controversial language feature is loved by some and hated by others, to the point where most programming languages avoid checked exceptions and support only their unchecked counterparts.

In this post, I examine the controversy surrounding checked exceptions. I first introduce the exceptions concept and briefly describe Java's language support for exceptions to help beginners better understand the controversy.

What are exceptions?

In an ideal world, computer programs would never encounter any problems: files would exist when they are supposed to exist, network connections would never close unexpectedly, there would never be an attempt to invoke a method via the null reference, integer-division-by-zero attempts wouldn't occur, and so on. However, our world is far from ideal; these and other exceptions to ideal program execution are widespread.

To read this article in full or to leave a comment, please click here

Read: Are checked exceptions good or bad?

Topic: Gig jobs have high churn, ~40-60% after a year Previous Topic   Next Topic Topic: Auto-Generate Optimized Java Class Specializations

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use