aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/server/exceptions/UnknownFunctionException.java
blob: 13c1386c84f01700e6cad1efa3e511d8286b49d4 (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
/*
 * UnknownFunctionException.java
 * -----------------------------
 * 
 * Part of the URY Server Platform
 * 
 * V0.00  2011/03/20
 * 
 * (C) 2011 URY Computing
 */

package uk.org.ury.server.exceptions;

/**
 * Exception thrown when a handler receives a request for a path that does not
 * correspond to one of its functions.
 * 
 * @author Matt Windsor
 * 
 */
public class UnknownFunctionException extends HandlingException {
    /**
     * 
     */
    private static final long serialVersionUID = -7557785978712465975L;

    /**
     * Construct a new UnknownFunctionException.
     * 
     * @param path
     *            The path that was requested.
     */
    public UnknownFunctionException(String path) {
	super("Not found: " + path);
    }

}