Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11569

Re: Line wrapping

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Line wrapping
Date 2012-01-21 12:28 -0800
Organization albasani.net
Message-ID <jff758$dh1$1@news.albasani.net> (permalink)
References (5 earlier) <jf8u65$ukk$1@dont-email.me> <pebgh7tjstcvntnt1u5r7ol9ui3ocadql8@4ax.com> <b2hih75g29o5eisec7kmqsc90e9ejb6o60@4ax.com> <jfcels$vk9$1@news.albasani.net> <jfdnu4$db8$1@dont-email.me>

Show all headers | View raw


Jeff Higgins wrote:
> Lew wrote:
>> 'Exception's and 'Error's are different beasts. It's very sloppy to call
>> them "Exception/Error". Which?
> <http://jtf.acm.org/javadoc/student/acm/util/ErrorException.html>

Cute, but a red herring. This is not an 'Error', nor claimed to be in the 
Javadocs. I concur that the name could have been better chosen.

So could its constructors. Notice that they don't even allow an 'Error' as a 
constructor argument. This must have been a deliberate choice, given that they 
could have easily carried forward the policy of the supertype constructor:
<http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html#Exception(java.lang.String, 
java.lang.Throwable)>

So it's crystal clear that the compound name part "Error" and the document 
comments about "error" refer to the word in the natural language sense only, 
and no confusion between 'java.lang.Error' and 'java.lang.Exception' should be 
inferred.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-18 13:20 +0000
  Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-18 09:51 -0500
    Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-18 16:04 +0000
      Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-18 13:38 -0500
        Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-19 09:00 +0000
          Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-19 06:26 -0500
            Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-19 14:52 +0000
              Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-20 10:47 +0000
                Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 11:28 -0500
                Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 13:33 -0500
                Re: Line wrapping Lew <noone@lewscanon.com> - 2012-01-20 11:18 -0800
                Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 15:45 -0500
                Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 15:59 -0500
                Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-23 09:03 +0000
                Re: Line wrapping Lew <noone@lewscanon.com> - 2012-01-23 10:15 -0800
                Re: Line wrapping Lew <noone@lewscanon.com> - 2012-01-20 11:18 -0800
                Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-21 02:10 -0500
                Re: Line wrapping Lew <noone@lewscanon.com> - 2012-01-21 12:28 -0800
                Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 17:17 -0500
                Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 17:19 -0500
  Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-18 15:47 +0000

csiph-web