<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everyone,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am very desoriented by the simplified exception
handling in JDOM beta 5, comapred to the beta 4 release. Many methods that
use to raise NoSuch*Exceptions now return "null". This seems very awkward
to me!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>First off, one has now to deal with null values as
soon as needed instead of just catching exceptions wherever needed, which is
obviously less flexible and less reliable.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>More importantly, this enables JDOM to generate
non-well-formed documents! Quite surprising, isn't it?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Could somebody explain me the reasons of this new
(non-)exception handling approach in JDOM? Is there any plan to go back to
a more systematic exception-based scheme?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Pierre Roy</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>P.S. I am new to JDOM and this issue may have been
extensively discussed in this mailing list, in which case I
apologize.</FONT></DIV></BODY></HTML>