code: public ProxyPolicyHandler setProxyPolicyHandler(String id,
                              ProxyPolicyHandler handler) {
      if (id == null) {
          throw new IllegalArgumentException(i18n.getMessage("proxyPolicyId"));
      }
      if (handler == null) {
          throw new IllegalArgumentException(i18n.
                  getMessage("proxyPolicyHandler"));
      }
      if (this.proxyPolicyHandlers == null) {
          this.proxyPolicyHandlers = new Hashtable();
      }
      return (ProxyPolicyHandler)this.proxyPolicyHandlers.put(id, handler);
      }
docs: Sets a restricted proxy policy handler.
  
  @param id the Oid of the proxy policy to install the handler for.
  @param handler the proxy policy handler.
  @return <code>ProxyPolicyHandler</code> the previous handler
  installed under the specified id. Usually, will be null.