Declare SuppressFBWarnings in imports
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / openroadminterfaces / OpenRoadmInterfaceException.java
index 9f058a380011e1b07ae91d9c95e3ce1e6c9cfb0a..2f476fcdd4a6132896309e243052ac5c3fa0afb4 100644 (file)
@@ -8,8 +8,10 @@
 
 package org.opendaylight.transportpce.common.openroadminterfaces;
 
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+
 @SuppressWarnings("serial")
-@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(
+@SuppressFBWarnings(
     value = "SE_NO_SERIALVERSIONID",
     justification = "https://github.com/rzwitserloot/lombok/wiki/WHY-NOT:-serialVersionUID")
 public class OpenRoadmInterfaceException extends Exception {
@@ -26,4 +28,9 @@ public class OpenRoadmInterfaceException extends Exception {
         return String.format(
             "Unable to get mapping from PortMapping for node %s and logical connection port %s", node, port);
     }
+
+    public static final String mapping_xpdrtype_err(String node, String port) {
+        return String.format(
+                "Unable to get XpdrType from PortMapping for node % and logical connection port %s", node, port);
+    }
 }