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

Paul Libbrecht <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
I would vote for a NullPointerException with a message that says "Null URI".
But I note that I generally interpret any NullPointerException as a place where a "." is.
And in the case discussed in this thread, this is far far deep inside.

paul


Le 11 févr. 2012 à 22:15, Grzegorz a écrit :

> 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]

_______________________________________________
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.