public static Reference completeNameSafe(Prim owner) { try { return owner.sfCompleteName(); } catch (Throwable thr) {
public Reference completeNameSafe() { Reference ref=completeNameOrNull(); if(ref==null) {
    public static Reference completeNameSafe(Prim owner) {        try {            return owner.sfCompleteName();        } catch (Throwable thr) {            // TODO: log a message to indicate that sfCompleteName failed!            return new Reference();        }    }