[xwt-users] Null exceptions
Eric Merritt <cyberlync-/[email protected]>
| Newsgroups | gmane.comp.java.xwt.users |
|---|---|
| Message-ID | <[email protected]> |
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
try
{
//contact server and do stuff
...
} catch (e)
{
if (e != null)
{
//Do some more stuff
...
}
}
In the above example 'e' turned out to be null quite
often. So I put the 'e != null' guard in. Well it
seems that this will even cause a object is null
warning to be issued. Whats the problem here, why is
xwt throwing null exceptions at all, and why does a
test for null cause a null exception?
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com