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

}