Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Why nu.xom.ParseException?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: "Bradley S. Huffman" <hip AT cs.okstate.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Why nu.xom.ParseException?
  • Date: Fri, 4 Jul 2003 06:35:37 -0400

At 10:13 PM -0500 7/3/03, Bradley S. Huffman wrote:

Do you need a ParseException in nu.xom, it doesn't extend any other class
in nu.xom so couldn't you use java.text.ParseException instead?


I don't think so. That has a completely different meaning. Best not to confuse them. Plus it would require users to import java.text, would require XOM to support getErrorOffset, and it doesn't have four of the methods I do use (getColumnNumber, getLineNumber, initCause, and getCause)

--

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




Archive powered by MHonArc 2.6.24.

Top of Page