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

/**
 * Exception thrown if the class requested as a handler by the client 
 * is, in fact, not a handler (it does not implement RequestHandler).
 * 
 * @author Matt Windsor
 */

public class NotAHandlerException extends HandlingException
{
  /**
   * 
   */
  private static final long serialVersionUID = -7268289187311868036L;

  /**
   * Construct a NotAHandlerException with the name of the class that 
   * is not a handler.
   * 
   * @param className  The name of the offending class.
   */

  public
  NotAHandlerException (String className)
  {
    super ("Class " + className + " is not a request handler.");
    // TODO Auto-generated constructor stub
  }

}