Suppress stacktrace of benign exception when computing topology

Change-Id: Ifb1e4ae9d46c1db6a0c918b7a750f5f54bdfd67b
This commit is contained in:
Jonathan Hart 2014-12-03 18:47:10 -08:00 committed by Gerrit Code Review
parent eb8e3ea61a
commit 1e37d561ef

View File

@ -17,8 +17,7 @@ package org.onosproject.net.topology;
import static org.slf4j.LoggerFactory.getLogger;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
import java.util.Map;
import org.onosproject.net.AbstractDescription;
import org.onosproject.net.ConnectPoint;
@ -28,7 +27,8 @@ import org.onosproject.net.Link;
import org.onosproject.net.SparseAnnotations;
import org.slf4j.Logger;
import java.util.Map;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
/**
* Default implementation of an immutable topology graph data carrier.
@ -97,7 +97,7 @@ public class DefaultGraphDescription extends AbstractDescription
edges.add(new DefaultTopologyEdge(vertexOf(link.src()),
vertexOf(link.dst()), link));
} catch (IllegalArgumentException e) {
log.debug("Ignoring {}, missing vertex", link, e);
log.debug("Ignoring {}, missing vertex", link);
}
}
return edges.build();