aboutsummaryrefslogtreecommitdiffstats
path: root/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/FatalProvisioningException.java
blob: 149279873beb0a200bc752ac5314f40920e177e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.provision.provisioning;

/**
 * Thrown by {@link HostProvisioner} to indicate that the provisioning of a host has
 * irrecoverably failed. The host should be deprovisioned and (together with its children)
 * removed from the node-repository.
 *
 * @author freva
 */
public class FatalProvisioningException extends RuntimeException {
    public FatalProvisioningException(String message) {
        super(message);
    }

    public FatalProvisioningException(String message, Exception cause) {
        super(message, cause);
    }
}