Re: exceptions: checked or unchecked?
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Fri, 29 Aug 2008 22:11:08 GMT
marlow.andrew@xxxxxxxxxxxxxx wrote:
Joshua Cranmer wrote:
> I read somewhere that these
days people consider checked exceptions to be anJava is unique (AFAIK) in having checked exceptions. And Java is the
experiment that failed. Instead of people adding
the exceptions required to the throw list or handling
the exceptions internally the exceptions are typically
mis-handled by doing a catch and report stack trace
and then ignoring them. I have seen quite a lot of this.
only language where I find exception handling workable. It makes writing
correct code easier and incorrect code harder: you already have the
exception, you might as well do something with it.
Well, that's the theory but all too often to the practise is:
the exceptions are typically mis-handled by doing a catch and
report stack trace and then ignoring them. I have seen quite a lot of
this.
Not approvingly.
It is a pleasant practice in usable throw away programs,
demos posted on negligence etc..
It is not an executive practice in boisterous qualities.
Arne
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[NWO, degenerate, Skull and Bones, propaganda, brainwash,
mind control, fanatic, deranged, idiot, lunatic, retarded]
"I'm the master of low expectations."
--- Adolph Bush,
aboard Air Force One, June 4, 2003
.
- References:
- exceptions: checked or unchecked?
- From: marlow . andrew
- Re: exceptions: checked or unchecked?
- From: Joshua Cranmer
- exceptions: checked or unchecked?
- Prev by Date: Re: Hibernate Question
- Next by Date: Re: Help with Java-based RIA Framework
- Previous by thread: Re: exceptions: checked or unchecked?
- Next by thread: Re: exceptions: checked or unchecked?
- Index(es):
Relevant Pages
|