[jdom-interest] getChild problem?

Nick Fankhauser nickf at ontko.com
Tue Oct 2 07:47:18 PDT 2001


Mike-

Are you sure this is an error associated with the XML/JDOM part? It looks to
me like a JDOM exception would be giving you a "Parse error", but any other
exception prints "Unknown error".

Have you tried putting a couple of print statements right after the getChild
lines to see if those lines actually execute & if so what "header" & "seq"
contain ?

-Nick


>         } catch (JDOMException e)
>             { System.out.println("Parse error: " + e.getMessage()); }
>           catch (Exception e)
>             { System.out.println("Unknown error: " + e.getMessage()); }
>
>     }
>
> ...
>
>
> The result I get:  Unknown error: null




More information about the jdom-interest mailing list