<!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.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono" size=2>Two
issues:</FONT></SPAN></DIV>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono" size=2>(1) In the
jdom-interest archives, the link to *download entire archive* appears to do
nothing.</FONT></SPAN></DIV>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono" size=2>(2) I have
some code which calls the the the DomBuilder.build method, as
follows:</FONT></SPAN></DIV>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono"
size=2> try
<BR> {<BR></FONT></SPAN><FONT
size=2><FONT face="Andale Mono"><SPAN
class=932064715-04062001>
DOMBuilder builder = new
DOMBuilder();<BR>
Document doc = builder.buildxmlConfigFile );</SPAN><SPAN
class=932064715-04062001> </SPAN><SPAN
class=932064715-04062001>
</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=932064715-04062001><FONT face="Andale Mono"
size=2> }<BR>
catch ( JDOMException e )<BR>
{<BR> if (
e.getRootCause() != null
)<BR>
{<BR>
e.getRootCause().printStackTrace();<BR>
}<BR>
e.printStackTrace();<BR>
}<BR> catch ( FileNotFoundException
fnfe ) <BR>
{<BR>
Toolkit.getDefaultToolkit().beep();<BR>
lg.setStatus( "File " + lg.fileName.getName() + " not
found.");<BR>
}</FONT></SPAN></DIV><SPAN class=932064715-04062001>
<DIV><BR><FONT face="Andale Mono" size=2>But this will not compile. I get
the following:</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2></FONT> </DIV>
<DIV><FONT face="Andale Mono" size=2>LookupGeneratorConfig.java:101: exception
java.io.FileNotFoundException is never thrown in body of corresponding try
statement<BR> catch (
FileNotFoundException fnfe ) <BR>
^<BR></FONT></DIV></SPAN>
<DIV><FONT face="Andale Mono" size=2><SPAN class=932064715-04062001>I would have
expected the .build method to throw the exception.</SPAN></FONT></DIV>
<DIV><FONT face="Andale Mono" size=2><SPAN
class=932064715-04062001></SPAN></FONT> </DIV>
<DIV><FONT face="Andale Mono" size=2><SPAN
class=932064715-04062001></SPAN></FONT> </DIV>
<DIV><FONT face="Andale Mono" size=2></FONT> </DIV>
<DIV><FONT face="Andale Mono" size=2>Thanks.</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2></FONT> </DIV>
<DIV><FONT face="Andale Mono" size=2>Jeff Rancier</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2>Sr. Software Engineer</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2>Softechnics, Inc.</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2>7063 Interstate Island Rd.</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2>Syracuse, NY 13209</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2>Tel (315) 706-1111</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2>Fax (315) 706-9999</FONT></DIV>
<DIV><FONT face="Andale Mono" size=2><A
href="mailto:jeff.rancier@softechnics.com">mailto:jeff.rancier@softechnics.com</A></FONT></DIV>
<DIV><FONT face="Andale Mono" size=2><A
href="http://www.softechnics.com/">http://www.softechnics.com</A></FONT></DIV>
<DIV><FONT face="Andale Mono" size=2></FONT> </DIV>
<DIV><FONT face="Andale Mono" size=2></FONT> </DIV></BODY></HTML>