Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Call for Votes: new name for ParseException

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <cowan AT mercury.ccil.org>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Call for Votes: new name for ParseException
  • Date: Wed, 23 Jul 2003 08:43:42 -0400

Elliotte Rusty Harold scripsit:

> Plus, if there's a XOMParseException, I'd sort of expect to see a
> generic XOMException superclass that covers all the exceptions in
> XOM, but I can't really have that because of the distinction between
> checked and runtime exceptions.

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.

--
A poetical purist named Cowan [that's me: jcowan AT reutershealth.com]
Once put the rest of us dowan. [on xml-dev]
"Your verse would be sweeter http://www.ccil.org/~cowan
If it only had metre http://www.reutershealth.com
And rhymes that didn't force me to frowan." [overpacked line!] --Michael
Kay




Archive powered by MHonArc 2.6.24.

Top of Page