Deprecate DOMDataTreeProducer-related classes
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / sharding / DOMDataTreeShardCreationFailedException.java
index f6628ad9de0eb8f955864cc43a13346ea3712ce0..f69bf066611c9d60d4957b8834f7b12fcb2cc498 100644 (file)
@@ -5,24 +5,24 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.controller.cluster.sharding;
 
 import com.google.common.annotations.Beta;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Exception thrown when there was a at any point during the creation of a shard via {@link DistributedShardFactory}.
  */
 @Beta
+@Deprecated(forRemoval = true)
 public class DOMDataTreeShardCreationFailedException extends Exception {
     private static final long serialVersionUID = 1L;
 
-    public DOMDataTreeShardCreationFailedException(final @Nonnull String message) {
+    public DOMDataTreeShardCreationFailedException(final @NonNull String message) {
         super(message);
     }
 
-    public DOMDataTreeShardCreationFailedException(final @Nonnull String message, final @Nonnull Throwable cause) {
+    public DOMDataTreeShardCreationFailedException(final @NonNull String message, final @NonNull Throwable cause) {
         super(message, cause);
     }
 }