diff options
author | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-21 21:54:31 +0000 |
---|---|---|
committer | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-21 21:54:31 +0000 |
commit | df7d7981b56a4560c95ea7e9b194080e93398ecf (patch) | |
tree | b3ae4f02d23ae1f7f4951c776ee8d91b0047dd6f /src/uk/org/ury/server/exceptions/BadRequestException.java | |
parent | 2d073129857a42ab4195cd433c8be152e357033f (diff) |
GREAT PACKAGE RESHUFFLE: Everything is now organised into frontend, backend and common (to frontend and backend) packages. Things may have been broken. Doc refresh.
Diffstat (limited to 'src/uk/org/ury/server/exceptions/BadRequestException.java')
-rw-r--r-- | src/uk/org/ury/server/exceptions/BadRequestException.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/uk/org/ury/server/exceptions/BadRequestException.java b/src/uk/org/ury/server/exceptions/BadRequestException.java deleted file mode 100644 index 189c7f5..0000000 --- a/src/uk/org/ury/server/exceptions/BadRequestException.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - */ -package uk.org.ury.server.exceptions; - -/** - * Exception thrown when the server meets a malformed request, or - * part of one. - * - * @author Matt Windsor - */ - -public class BadRequestException extends HandlingException -{ - - /** - * - */ - private static final long serialVersionUID = 1825771401085225357L; - - - /** - * Construct a new BadRequestException with a default reason. - */ - - public - BadRequestException () - { - super ("Bad request."); - } - - - /** - * Construct a new HandlerNotFoundException with a chained - * exception. - * - * @param cause The exception that this new exception is to - * wrap. - */ - - public - BadRequestException (Throwable cause) - { - super ("Bad request. (" - + cause.getMessage () + ")", cause); - } -} |