summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/time/TimeoutException.java
blob: 098d42ddb94c21f2c72007f3573619e134ac0d6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.time;

/**
 * Exception thrown when a blocking operation times out.
 *
 * <p>Unchecked variant of {@link java.util.concurrent.TimeoutException}
 *
 * @author hakon
 */
@SuppressWarnings("serial")
public class TimeoutException extends RuntimeException {
    public TimeoutException() { }

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