X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fclustering%2FCandidateAlreadyRegisteredException.java;h=67286e3d48e5560b0e1fbedd218e4a18768307a0;hp=976688946fa65b34e566ad51022a52b91b313bbb;hb=0c877a510c8da62881b73ceff8b1ecdeaf3f8cd2;hpb=5e60027f1ed6b966608d8020df47c6ec8fe16716 diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/CandidateAlreadyRegisteredException.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/CandidateAlreadyRegisteredException.java index 976688946f..67286e3d48 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/CandidateAlreadyRegisteredException.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/CandidateAlreadyRegisteredException.java @@ -14,7 +14,10 @@ import javax.annotation.Nonnull; /** * Thrown when a Candidate has already been registered for a given Entity. This could be due to a component doing a * duplicate registration or two different components within the same process trying to register a Candidate. + * + * @deprecated Use org.opendaylight.mdsal.common.api.clustering.CandidateAlreadyRegisteredException instead */ +@Deprecated public class CandidateAlreadyRegisteredException extends Exception { private static final long serialVersionUID = 1L; @@ -27,6 +30,7 @@ public class CandidateAlreadyRegisteredException extends Exception { } /** + * Returns the entity for which a Candidate has already been registered in the current process. * * @return the entity for which a Candidate has already been registered in the current process */