private static void logOrThrow(String message, Context context) {
        if (context.deployState().zone().system().isPublic()) {
            context.illegal(message);
        } else {
            context.deployState().getDeployLogger().log(Level.WARNING, message);
        }
    }
Validates URI bindings for filters and handlers
Enforced in public systems, log warning in non-public systems

@author bjorncs
config-model/src/main/java/com/yahoo/vespa/model/application/validation/UriBindingsValidator.java