Re: malformed URL exception exception in saxbuilder.build due to unreachable URL

Grzegorz <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <CA+DoOifYTVc4L_OJtzU4EKJiOrxLDrt+hxaXCRZ9eXei+-Zwbw@mail.gmail.com>
>
> Another validation process that would help when doing XML exploration
> (i.e you don't know what is in the data and are trying to find out)
> would be to throw an exception of the string is null and not use the
> "null pointer" exception.
>

Why not? NullPointerException is designed to handle just that.

Regards,
Grzegorz

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.