Migrate OSGI compendium reference
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / md / sal / dom / api / DOMRpcException.java
index 7ea4f4cf56be30875a224ae60a6e020ba12c8147..b2f170c18ba30b75e0345152c9a117d04e23e264 100644 (file)
@@ -7,11 +7,17 @@
  */
 package org.opendaylight.controller.md.sal.dom.api;
 
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+
 /**
  * Base class for failures that can occur during RPC invocation. This covers
  * transport and protocol-level failures.
+ *
+ * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMRpcException} instead.
  */
-public abstract class DOMRpcException extends Exception {
+@Deprecated(forRemoval = true)
+@SuppressFBWarnings(value = "NM_SAME_SIMPLE_NAME_AS_SUPERCLASS", justification = "Migration")
+public abstract class DOMRpcException extends org.opendaylight.mdsal.dom.api.DOMRpcException {
     private static final long serialVersionUID = 1L;
 
     /**