aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/server/exceptions/HandleFailureException.java
blob: 063cc5213ebe197a1778e6120321c931d1b6e7ff (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
/**
 * 
 */
package uk.org.ury.server.exceptions;

/**
 * Generic exception thrown when a server request handler fails to 
 * handle a request.
 * 
 * @author Matt Windsor
 */

public class HandleFailureException extends Exception
{
  
  /**
   * Change this!  ---v
   */
  
  private static final long serialVersionUID = -397479334359858162L;


  /**
   * Construct a new HandleFailureException with a 
   * default reason.
   */
  
  public
  HandleFailureException ()
  {
    super ("Server request handler failed to handle the request.");
  }
  
  
  /**
   * Construct a new HandleFailureException.
   * 
   * @param reason  The explanation for the exception.
   */
  
  public
  HandleFailureException (String reason)
  {
    super (reason);
  }
}