c.boldenow at cytera.com
Sat Aug 26 22:18:27 PDT 2000
I have an Element which may or may not contain a certain attribute. When I check for the value of this attribute i.e. elem.getAttribute("type").getValue() and it is not there, my program is throwing a null pointer exception. I have tried adding a NoSuchAttributeException to my catch block but my code will not compile. I have seen this exception somewhere in JDOM documentation. Has it been removed, if so, how can I do this.
Thanks for any help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest