Browse Source

增加异常

zhouhao 7 years ago
parent
commit
1e3ae0184f

+ 17 - 0
hsweb-authorization/hsweb-authorization-api/src/main/java/org/hswebframework/web/authorization/exception/AuthorizationException.java

@@ -0,0 +1,17 @@
+package org.hswebframework.web.authorization.exception;
+
+/**
+ * 权限验证异常
+ * @author zhouhao
+ */
+public class AuthorizationException extends RuntimeException {
+
+
+    public AuthorizationException(String message) {
+        super(message);
+    }
+
+    public AuthorizationException(String message, Throwable cause) {
+        super(message, cause);
+    }
+}