A Techno Blog, mainly about Java

Exception Fever

Exceptions Best Practices

Checked :  Java introduced availability of this kind of exception (java.lang.Exception). This type of excpetion represents useful information about the operation of a legally specified request that the caller may have had no control over and that the caller needs to be informed about [problems] [Challenges with Checked Exceptions ]With checked exceptions, Java language forces us to document all the anticipated ways in which control might exit a method:

  1. Java classes must declare any checked exceptions they throw in the method signature
  2. any method that calls a method that throws a checked exception of type E must either catch E or must also be declared to throw E

Unchecked : runtime exceptions (java.lang.RuntimeException). These are exceptions that occur as a result of programming errors or that the program could not be expected to catch (dereferencing a null pointer, falling off the end of an array, dividing by zero, and so on).

Recently, several well-regarded experts, including Bruce Eckel and Rod Johnson, have publicly stated checked exceptions have become a significant source of problems for many large projects.

December 18, 2004 - Posted by | J2EE


  1. Golf City: Two 18 hole championship golf courses and two 9 hole golf courses – spread all over the township
    acting as a hallmark recreational green lung
    and a major attraction only of its kind golf facility
    in the entire country to host golf events. While this may
    seem like something that is 50 or more years in
    the future there are currently micro-thin resistor panels that can be placed over non-conductive
    surfaces to create a touch screen out of anything.

    The spy gear car can be just as effective if kept stationary, simply place in a room, listen in and watch undercover missions.

    Comment by технологии менеджмента | September 12, 2013 | Reply

  2. I’ve been browsing on-line more than three hours as of late, yet I by no means found any attention-grabbing article like
    yours. It is lovely worth sufficient for me.
    Personally, if all site owners and bloggers made excellent content material
    as you probably did, the web shall be much more helpful than ever before.

    Comment by bluetooth headphones | October 17, 2013 | Reply

  3. Hello, There’s no doubt that your website could be having browser compatibility problems.
    When I take a look at your website in Safari, it looks fine however,
    when opening in Internet Explorer, it has some overlapping issues.

    I simply wanted to give you a quick heads up!
    Besides that, wonderful blog!

    Comment by Tablet Android | December 25, 2013 | Reply

  4. of course like your website but you have to test the spelling on
    several of your posts. A number of them are
    rife with spelling issues and I find it very troublesome to tell the truth
    however I will definitely come back again.

    Comment by | January 25, 2014 | Reply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: