presto-main/src/main/java/io/prestosql/metadata/ProcedureRegistry.java/ProcedureRegistry/resolve
class ProcedureRegistry:    public Procedure resolve(CatalogName catalogName, SchemaTableName name)
    {
        Map<SchemaTableName, Procedure> procedures = connectorProcedures.get(catalogName);
        if (procedures != null) {
            Procedure procedure = procedures.get(name);
            if (procedure != null) {
                return procedure;
            }
        }
        throw new PrestoException(PROCEDURE_NOT_FOUND, "Procedure not registered: " + name);
    }