aboutsummaryrefslogtreecommitdiffstats
path: root/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/FatalProvisioningException.java
blob: afd105c138860067fe3e542a3f392fdcc0f69404 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Yahoo. 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);
    }
}