X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fforwardingrulesmanager%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fforwardingrulesmanager%2FFlowEntry.java;h=00bea860de119c69fdc1298b9e0884071c2824ff;hp=2ab1a0583b9ac9b2dba9cb08c843438feeeac90e;hb=d192c699590d441eb96a697b9e8ab7a028f18860;hpb=38379f996f946943172a1c62a49c86bff1c444eb diff --git a/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/FlowEntry.java b/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/FlowEntry.java index 2ab1a0583b..00bea860de 100644 --- a/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/FlowEntry.java +++ b/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/FlowEntry.java @@ -18,6 +18,8 @@ import org.opendaylight.controller.sal.core.ContainerFlow; import org.opendaylight.controller.sal.core.Node; import org.opendaylight.controller.sal.flowprogrammer.Flow; import org.opendaylight.controller.sal.match.Match; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * Represents a flow applications request Forwarding Rules Manager to install @@ -26,6 +28,8 @@ import org.opendaylight.controller.sal.match.Match; * For instance the flows constituting a policy all share the same group name. */ public class FlowEntry implements Cloneable, Serializable { + protected static final Logger logger = LoggerFactory + .getLogger(FlowEntry.class); private static final long serialVersionUID = 1L; private String groupName; // group name private String flowName; // flow name (may be null) @@ -79,7 +83,7 @@ public class FlowEntry implements Cloneable, Serializable { cloned = (FlowEntry) super.clone(); cloned.flow = this.flow.clone(); } catch (CloneNotSupportedException e) { - e.printStackTrace(); + logger.error("",e); } return cloned; }