xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Call for Votes: new name for ParseException
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: John Cowan <cowan AT mercury.ccil.org>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Call for Votes: new name for ParseException
- Date: Wed, 23 Jul 2003 09:48:55 -0400
At 8:43 AM -0400 7/23/03, John Cowan wrote:
I guess it's too late for this, but is there any hope of my convincing
you that your unchecked exceptions should really be Errors? Your
contract is to invoke an unchecked exception when the programmer has
blundered, rather than the data being bad. This is precisely the
contract of Error.
That's a new one to me. Where did you get that idea from? It's very unusualfor a Java program to throw an Error. Errors almost always indicate a failure in the VM that can rarely be predicted or handled, e.g. OutOfMemoryError or ClassFormatError. Very few user programs should ever throw or even handle errors. The contract of error is not that the programmer has blundered. It's that the VM has failed in some way.
--
Elliotte Rusty Harold
elharo AT metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
-
[XOM-interest] Call for Votes: new name for ParseException,
Elliotte Rusty Harold, 07/20/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Johan Strandberg, 07/20/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Francois Beausoleil, 07/20/2003
- Re: [XOM-interest] Call for Votes: new name for ParseException, Bill de hÓra, 07/21/2003
- Re: [XOM-interest] Call for Votes: new name for ParseException, Nils_Kilden-Pedersen, 07/21/2003
- Re: [XOM-interest] Call for Votes: new name for ParseException, dirk bergstrom, 07/21/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Francois Beausoleil, 07/20/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Bradley S. Huffman, 07/20/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Elliotte Rusty Harold, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
John Cowan, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Elliotte Rusty Harold, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
John Cowan, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Francois Beausoleil, 07/23/2003
- Re: [XOM-interest] Call for Votes: new name for ParseException, John Cowan, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Francois Beausoleil, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
John Cowan, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Elliotte Rusty Harold, 07/23/2003
- Re: [XOM-interest] Call for Votes: new name for ParseException, Bill de hÓra, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
John Cowan, 07/23/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Elliotte Rusty Harold, 07/23/2003
- Re: [XOM-interest] Call for Votes: new name for ParseException, Janek Bogucki, 07/21/2003
- <Possible follow-up(s)>
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Orenchak, James, 07/24/2003
- Re: [XOM-interest] Call for Votes: new name for ParseException, Bradley S. Huffman, 07/24/2003
- Re: [XOM-interest] Call for Votes: new name for ParseException, Elliotte Rusty Harold, 07/24/2003
-
Re: [XOM-interest] Call for Votes: new name for ParseException,
Johan Strandberg, 07/20/2003
Archive powered by MHonArc 2.6.24.