aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/database/exceptions/QueryFailureException.java
blob: d7b3e5b70239c965994ff8169b8f342ed3919c47 (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 execute
 * a query.
 * 
 * @author Matt Windsor
 */

public class QueryFailureException extends Exception
{
 /**
   * 
   */
  private static final long serialVersionUID = -7353531873142099828L;


/**
  * Construct a new QueryFailureException with a 
  * default reason.
  */
 
 public
 QueryFailureException ()
 {
   super ("Query failure.");
 }
 
 
 /**
  * Construct a new QueryFailureException.
  * 
  * @param reason  The explanation for the exception.
  */
 
 public
 QueryFailureException (String reason)
 {
   super (reason);
 }
}