Re: [xwt-users] Null exceptions

Charles Goodwin <[email protected]>
Newsgroups gmane.comp.java.xwt.users
Organization XWT Foundation
Message-ID <[email protected]>
Eric Merritt wrote:
> I have a little problem. It seems that when the server
> returns a fault to xwt and xwt throws an exception it
> sometimes throws a null value as an exception. 
> ie when I do something like 

Lithium (the current stable version of XWT) does not support try/catch 
blocks.  It also throws NullPointerExceptions whenever something happens 
that it doesn't understand.  Ergo remove the try/catch block as that is 
most likely the cause of your woes.

I think that Nitrogen (the development version, being prepared for 
consumption) will support try/catch blocks though.

But for now, sadly, your error checking will have to be a little more 
manual.

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