diff options
Diffstat (limited to 'src/com/gitblit/GitBlitException.java')
-rw-r--r-- | src/com/gitblit/GitBlitException.java | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/com/gitblit/GitBlitException.java b/src/com/gitblit/GitBlitException.java index 1111463f..360f9f0a 100644 --- a/src/com/gitblit/GitBlitException.java +++ b/src/com/gitblit/GitBlitException.java @@ -56,7 +56,20 @@ public class GitBlitException extends IOException { super(message);
}
}
-
+
+ /**
+ * Exception to indicate that the requested action has been disabled on the
+ * Gitblit server.
+ */
+ public static class NotAllowedException extends GitBlitException {
+
+ private static final long serialVersionUID = 1L;
+
+ public NotAllowedException(String message) {
+ super(message);
+ }
+ }
+
/**
* Exception to indicate that the requested action can not be executed by
* the server because it does not recognize the request type.
|