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

/**
 * A provisioning exception that is considered transient. Exceptions that we expect to recover from after a short
 * duration should extend this. Throwing a subclass of this indicates that the operation can safely be retried.
 *
 * @author mpolden
 */
public abstract class TransientException extends RuntimeException {

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

    public TransientException(String message, Throwable cause) {
        super(message, cause);
    }

}