DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14195>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14195

NPE from dispatch() when no errCode





------- Additional Comments From [EMAIL PROTECTED]  2002-11-03 01:20 -------
Eh, turns out that there are case where the Exception is null as well. This
should be safe though:

  String errMsg = null;
  if (errCode != null) {
      errMsg = getString(errCode, args);
  }
  if (errMsg == null && e != null) {
      errMsg = e.getMessage();
  }

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Reply via email to