blob: 77a7f5b20acbbfa2ad0fed1eb6e2481ebf8b16b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jrt;
/**
* Checked exception thrown when listening fails.
* @see Supervisor#listen
**/
public class ListenFailedException extends Exception {
private static final long serialVersionUID = 1L;
/**
* Create a ListenFailedException with the given message.
*
* @param msg the exception message
**/
ListenFailedException(String msg) {
super(msg);
}
/**
* Create a ListenFailedException with the given message and cause.
*
* @param msg the exception message
* @param cause what caused this exception
**/
ListenFailedException(String msg, Throwable cause) {
super(msg, cause);
}
}
|