if ((alwaysHttpPort != 0) && ((alwaysHttpPort > 65535) || (alwaysHttpPort < 0))) { throw new IllegalArgumentException( "alwaysHttpPort must be between 1 and 65535"); }  if ((alwaysHttpsPort != 0) && ((alwaysHttpsPort > 65535) || (alwaysHttpsPort < 0))) { throw new IllegalArgumentException( "alwaysHttpsPort must be between 1 and 65535");
if (portMapper == null) { throw new IllegalArgumentException("portMapper required");
    public void afterPropertiesSet() throws Exception {        if ((alwaysHttpPort != 0)            && ((alwaysHttpPort > 65535) || (alwaysHttpPort < 0))) {            throw new IllegalArgumentException(                "alwaysHttpPort must be between 1 and 65535");        }        if ((alwaysHttpsPort != 0)            && ((alwaysHttpsPort > 65535) || (alwaysHttpsPort < 0))) {            throw new IllegalArgumentException(                "alwaysHttpsPort must be between 1 and 65535");        }    }