In NotImplementedException, the getMessage() method has the following code:
public String getMessage() {
if (super.getMessage() != null) {
return super.getMessage();
} else if (cause != null) {
return cause.toString();
} else {
return null;
}
}
Because of how the constructors are coded, unless I've missed
something, super.getMessage() will always return a non-null value, so
the else blocks will never execute. Did I read this correctly? Is
there any reason to keep the additional else blocks? I'd like to
remove them if there isn't.
--
Steven Caswell
[EMAIL PROTECTED]
Take back the web - http://www.mozilla.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]