xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: John Cowan <cowan AT ccil.org>
- To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Subclassing and check methods
- Date: Sat, 13 Mar 2004 21:09:15 -0500
Elliotte Rusty Harold scripsit:
> The mutator methods are public, not protected. Does that change your
> opinion on this?
No, that was a mere slip.
> I'm not sure whether the @throws clause should
> really be used to document every runtime exception an overriding
> method may plausibly throw.
Fair enough, but I do think the caller should be prepared to get any
kind of SAXException, because the caller shouldn't have to know that
a subclass is actually answering the method. Documenting the methods
as returning SAXException rather than a more specific exception serves
as psychological preparation for that.
--
John Cowan jcowan AT reutershealth.com http://www.ccil.org/~cowan
Does anybody want any flotsam? / I've gotsam.
Does anybody want any jetsam? / I can getsam.
--Ogden Nash, No Doctors Today, Thank You
-
Re: [XOM-interest] Last call warning
, (continued)
-
Re: [XOM-interest] Last call warning,
jcowan, 03/11/2004
-
[XOM-interest] Subclassing and check methods,
Elliotte Rusty Harold, 03/11/2004
-
Re: [XOM-interest] Subclassing and check methods,
Bradley S. Huffman, 03/12/2004
- Re: [XOM-interest] Subclassing and check methods, Bradley S. Huffman, 03/12/2004
-
Re: [XOM-interest] Subclassing and check methods,
Elliotte Rusty Harold, 03/12/2004
-
Re: [XOM-interest] Subclassing and check methods,
Bradley S. Huffman, 03/12/2004
- Re: [XOM-interest] Subclassing and check methods, Elliotte Rusty Harold, 03/12/2004
- Re: [XOM-interest] Subclassing and check methods, Elliotte Rusty Harold, 03/12/2004
-
Re: [XOM-interest] Subclassing and check methods,
jcowan, 03/12/2004
- Re: [XOM-interest] Subclassing and check methods, Elliotte Rusty Harold, 03/13/2004
- Re: [XOM-interest] Subclassing and check methods, John Cowan, 03/13/2004
-
Re: [XOM-interest] Subclassing and check methods,
Bradley S. Huffman, 03/12/2004
-
Re: [XOM-interest] Subclassing and check methods,
Bradley S. Huffman, 03/12/2004
-
Re: [XOM-interest] Subclassing and check methods,
Elliotte Rusty Harold, 03/12/2004
- Re: [XOM-interest] Subclassing and check methods, Bradley S. Huffman, 03/12/2004
-
Re: [XOM-interest] Subclassing and check methods,
John Cowan, 03/12/2004
- Re: [XOM-interest] Subclassing and check methods, Elliotte Rusty Harold, 03/13/2004
-
[XOM-interest] Subclassing and check methods,
Elliotte Rusty Harold, 03/11/2004
-
Re: [XOM-interest] Last call warning,
Elliotte Rusty Harold, 03/13/2004
- Re: [XOM-interest] Last call warning, John Cowan, 03/13/2004
-
Re: [XOM-interest] Last call warning,
jcowan, 03/11/2004
Archive powered by MHonArc 2.6.24.