diff options
author | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-20 17:09:11 +0000 |
---|---|---|
committer | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-20 17:09:11 +0000 |
commit | 0645ec66e1618ce4b52e56212c79196dd7c5c608 (patch) | |
tree | 95b103c7577b4039eabe18cfda7ee8e7ca80e61b /src/uk/org/ury/server/exceptions/UnknownFunctionException.java | |
parent | cee53b021632c95f1b4882664a31ca639a9b0700 (diff) |
Begin migration to HttpCore request handler pattern. Delete protocol duplicates left over from last commit.
Diffstat (limited to 'src/uk/org/ury/server/exceptions/UnknownFunctionException.java')
-rw-r--r-- | src/uk/org/ury/server/exceptions/UnknownFunctionException.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/uk/org/ury/server/exceptions/UnknownFunctionException.java b/src/uk/org/ury/server/exceptions/UnknownFunctionException.java new file mode 100644 index 0000000..13c1386 --- /dev/null +++ b/src/uk/org/ury/server/exceptions/UnknownFunctionException.java @@ -0,0 +1,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); + } + +} |