Teach NETCONF about YANG 1.1 actions in cluster topology
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / impl / utils / ClusteringActionException.java
1 /*
2  * Copyright (C) 2019 Ericsson Software Technology AB. 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.impl.utils;
9
10 import org.opendaylight.mdsal.dom.api.DOMActionException;
11
12 /**
13  * Exception thrown during remote action invocation in Odl-Cluster environment.
14  */
15 public class ClusteringActionException extends DOMActionException {
16     private static final long serialVersionUID = 1L;
17
18     /**
19      * Constructor for {@code ClusteringActionException}.
20      *
21      * @param message String
22      */
23     public ClusteringActionException(final String message) {
24         super(message);
25     }
26
27     /**
28      * Constructor for {@code ClusteringActionException}.
29      *
30      * @param message String
31      * @param cause Throwable
32      */
33     public ClusteringActionException(final String message, final Throwable cause) {
34         super(message, cause);
35     }
36 }