diff options
Diffstat (limited to 'src/com/gitblit/GitBlitException.java')
-rw-r--r-- | src/com/gitblit/GitBlitException.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/gitblit/GitBlitException.java b/src/com/gitblit/GitBlitException.java index af32003a..1111463f 100644 --- a/src/com/gitblit/GitBlitException.java +++ b/src/com/gitblit/GitBlitException.java @@ -56,4 +56,17 @@ public class GitBlitException extends IOException { super(message);
}
}
+
+ /**
+ * Exception to indicate that the requested action can not be executed by
+ * the server because it does not recognize the request type.
+ */
+ public static class UnknownRequestException extends GitBlitException {
+
+ private static final long serialVersionUID = 1L;
+
+ public UnknownRequestException(String message) {
+ super(message);
+ }
+ }
}
|