presto-main/src/main/java/io/prestosql/connector/system/KillQueryProcedure.java/KillQueryProcedure/parseQueryId
class KillQueryProcedure:    private static QueryId parseQueryId(String queryId)
    {
        try {
            return QueryId.valueOf(queryId);
        }
        catch (IllegalArgumentException e) {
            throw new PrestoException(INVALID_PROCEDURE_ARGUMENT, e);
        }
    }