aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/restapiv2/OtherMasterIndexException.java
blob: 19ba378398eec6f278eb4489d3026afdcd19524f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core.restapiv2;

public class OtherMasterIndexException extends Exception {

    private final int index;

    public OtherMasterIndexException(int index) {
        this.index = index;
    }

    public int getMasterIndex() { return index; }

}