code: public void setErrorPage(String error, String uriInContext)
      {
          if (_errorPages == null)
              _errorPages= new HashMap();
          _errorPages.put(error, uriInContext);
      }
docs: set error page URI.
  @param error A string representing an error code or a
  exception classname
  @param uriInContext