aboutsummaryrefslogtreecommitdiffstats
path: root/zookeeper-server/zookeeper-server-common/src/main/java/com/yahoo/vespa/zookeeper/ReconfigException.java
blob: 5e16b6644a142226c2ff6990a6f317bae656b50e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.zookeeper;

/**
 * Exception used to wrap zookeeper exception when reconfiguration fails, done to be able
 * to use a class that does not depend on ZooKeeper.
 *
 * @author hmusum
 */
@SuppressWarnings("serial")
public class ReconfigException extends RuntimeException {

    public ReconfigException(Throwable cause) {
        super(cause);
    }

    public ReconfigException(String message) {
        super(message);
    }

}