| | |
| | | * @author: huang.hongfa weixin hhf9596 qq 959656820 |
| | | * @create: 2020-11-24 14:26 |
| | | **/ |
| | | public class UnAuthorizationException extends RuntimeException{ |
| | | public class UnAuthorizationException extends RuntimeException { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | private String msg="无权限"; |
| | | private String msg = "无权限"; |
| | | private int code = 403; |
| | | |
| | | public UnAuthorizationException(String msg) { |
| | | super(msg); |
| | | this.msg = msg; |
| | | } |
| | | |
| | | public UnAuthorizationException() { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | public UnAuthorizationException(String msg, Throwable e) { |
| | | super(msg, e); |
| | | this.msg = msg; |