blob: 030b24fdfdf045df8d60f8fad1b5e1014a4e37e5 (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/**
*
*/
package uk.org.ury.database.exceptions;
/**
* Exception thrown when the database backend fails to connect to
* the database server, in absence of a more specific exception.
*
* @author Matt Windsor
*/
public class ConnectionFailureException extends Exception
{
/**
*
*/
private static final long serialVersionUID = -7353531873142099828L;
/**
* Construct a new ConnectionFailureException with a
* default reason.
*/
public
ConnectionFailureException ()
{
super ("Connection failure.");
}
/**
* Construct a new ConnectionFailureException.
*
* @param reason The explanation for the exception.
*/
public
ConnectionFailureException (String reason)
{
super (reason);
}
}
|