blob: bae7407587e45353518b768df983c6918605c8c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2019 Oath Inc. 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);
}
}
|