On Tuesday 26 April 2005 02:21, [EMAIL PROTECTED] wrote: > + Âpublic String toString() { > + Â Âtry { > + Â Â Âreturn getDocument().toString(); > + Â Â} catch (IOException e) { > + Â Â Âreturn null; > + Â Â} > + Â}
Wouldn't it be better here to re-throw the exception as a RuntimeException? Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]