aboutsummaryrefslogtreecommitdiffstats
path: root/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/BatchInternalErrorException.java
blob: 70dc661c07165851374238937db49df53fe3765b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.orchestrator;

import com.yahoo.vespa.applicationmodel.HostName;
import com.yahoo.vespa.orchestrator.model.NodeGroup;

public class BatchInternalErrorException extends OrchestrationException {

    public BatchInternalErrorException(HostName parentHostname,
                                       NodeGroup nodeGroup,
                                       RuntimeException e) {
        super("Failed to suspend " + nodeGroup + " with parent host "
                + parentHostname + ": " + e.getMessage(), e);
    }

}