[jdom-interest] SAXBuilder.build broken from b8?

Elliotte Rusty Harold elharo at metalab.unc.edu
Sun May 5 05:54:04 PDT 2002


At 3:49 PM +1000 5/5/02, dion at multitask.com.au wrote:
>The SAXBuilder.build methods now throw IOException as well as
>JDOMExceptions. Would it be possible to deprecate them in a release (b9?)
>before changing the public signature next time? This will at least give us
>a chance to change the code before it's broken.
>--

No, because Java can't overload based on exceptions thrown. Thus the 
methods were not replaced by new methods. They were simply changed.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list