Add changed-leaf-nodes-only subscription extension
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / NotMasterException.java
1 /*
2  * Copyright (c) 2018 Inocybe Technologies and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.netconf.topology.singleton.messages;
9
10 import akka.actor.ActorRef;
11
12 /**
13  * Exception reply indicating the recipient is not the master.
14  *
15  * @author Thomas Pantelis
16  */
17 public class NotMasterException extends Exception {
18     private static final long serialVersionUID = 1L;
19
20     public NotMasterException(final ActorRef recipient) {
21         super("Actor " + recipient + " is not the current master");
22     }
23 }