static void illegal(String message) {
        throw new IllegalArgumentException(message);
    }
Returns the deprecated elements used when creating this
config-model-api/src/main/java/com/yahoo/config/application/api/DeploymentSpec.java