blob: 3766fcf6ed4f41587cb935c337b31830067b9f31 (
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
45
46
47
|
/**
*
*/
package uk.org.ury.database.exceptions;
/**
* Exception thrown when a DatabaseItem is queried for a property
* that does not exist.
*
* This is (usually) not a fatal error.
*
* @author Matt Windsor
*/
public class MissingPropertyException extends Exception
{
/**
*
*/
private static final long serialVersionUID = -7353531873142099828L;
/**
* Construct a new MissingPropertyException with a
* default reason.
*/
public
MissingPropertyException ()
{
super ("Query failure.");
}
/**
* Construct a new MissingPropertyException.
*
* @param reason The explanation for the exception.
*/
public
MissingPropertyException (String reason)
{
super (reason);
}
}
|