blob: 822e722f5d90ae2c6d3519417fcc9ba06cca6866 (
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.exception;
/**
* 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);
}
}
|