]> git.basschouten.com Git - openhab-addons.git/blob
ad350f448e2bbdb98b01a07687501c16c208e0b2
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.icloud.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * This exception is thrown when a retry finally fails.
20  *
21  * @author Simon Spielmann - Initial contribution
22  */
23 @NonNullByDefault
24 public class RetryException extends RuntimeException {
25
26     private static final long serialVersionUID = 1L;
27
28     /**
29      * The constructor.
30      *
31      * @param originalException Exception which was thrown for the last unsuccessful retry.
32      */
33     public RetryException(@Nullable Throwable originalException) {
34         super("Retry finally failed.", originalException);
35     }
36 }