public Application require(ApplicationId id) {
        return db.readApplication(id).orElseThrow(() -> new IllegalArgumentException("No application '" + id + "' was found"));
    }
Returns the application with the given id, or throws IllegalArgumentException if it does not exist
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/applications/Applications.java