    # File lib/mongrel/uri_classifier.rb, line 28
        def register(uri, handler)
          raise RegistrationError, "#{uri.inspect} is already registered" if @handler_map[uri]
          raise RegistrationError, "URI is empty" if !uri or uri.empty?
          raise RegistrationError, "URI must begin with a \"#{Const::SLASH}\"" unless uri[0..0] == Const::SLASH
          @handler_map[uri.dup] = handler
          rebuild
        end