Use Timer in NetconfNodeHandler
[netconf.git] / apps / 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 java.io.Serial;
11 import org.opendaylight.mdsal.dom.api.DOMActionException;
12
13 /**
14  * Exception thrown during remote action invocation in Odl-Cluster environment.
15  */
16 public class ClusteringActionException extends DOMActionException {
17     @Serial
18     private static final long serialVersionUID = 1L;
19
20     /**
21      * Constructor for {@code ClusteringActionException}.
22      *
23      * @param message String
24      */
25     public ClusteringActionException(final String message) {
26         super(message);
27     }
28
29     /**
30      * Constructor for {@code ClusteringActionException}.
31      *
32      * @param message String
33      * @param cause Throwable
34      */
35     public ClusteringActionException(final String message, final Throwable cause) {
36         super(message, cause);
37     }
38 }