X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fsharding%2FDOMDataTreeShardCreationFailedException.java;h=f69bf066611c9d60d4957b8834f7b12fcb2cc498;hb=refs%2Fchanges%2F61%2F95161%2F6;hp=eda11532ceba84f48c9f7c47f88e4239d4ae17af;hpb=8232a626b43fdd2f5799da0fbcfb0f02d3c8f4fb;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DOMDataTreeShardCreationFailedException.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DOMDataTreeShardCreationFailedException.java index eda11532ce..f69bf06661 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DOMDataTreeShardCreationFailedException.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DOMDataTreeShardCreationFailedException.java @@ -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(@Nonnull final String message) { + public DOMDataTreeShardCreationFailedException(final @NonNull String message) { super(message); } - public DOMDataTreeShardCreationFailedException(@Nonnull final String message, @Nonnull final Throwable cause) { + public DOMDataTreeShardCreationFailedException(final @NonNull String message, final @NonNull Throwable cause) { super(message, cause); } }