blob: 7b614f60051f213a3a782d7e14f84883f99422d7 (
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
48
49
50
51
|
/**
*
*/
package uk.org.ury.server.exceptions;
/**
* Exception thrown when the server request handler requested
* by the client is not * found in the class space.
*
* @author Matt Windsor
*/
public class HandlerNotFoundException extends HandlingException
{
/**
* TODO: Change this! ---v
*/
private static final long serialVersionUID = -397479334359858162L;
/**
* Construct a new HandlerNotFoundException with a
* default reason.
*/
public
HandlerNotFoundException ()
{
super ("Handler not found.");
}
/**
* Construct a new HandlerNotFoundException with a class name and
* chained exception.
*
* @param className The name of the missing handler class.
*
* @param cause The exception that this new exception is to
* wrap.
*/
public
HandlerNotFoundException (String className, Throwable cause)
{
super ("Handler " + className + " not found. ("
+ cause.getMessage () + ")", cause);
}
}
|