forked from aixan/RuoYi-Vue
		
	若依 3.0
This commit is contained in:
		| @@ -0,0 +1,16 @@ | ||||
| package com.ruoyi.common.exception.user; | ||||
|  | ||||
| /** | ||||
|  * 验证码错误异常类 | ||||
|  *  | ||||
|  * @author ruoyi | ||||
|  */ | ||||
| public class CaptchaException extends UserException | ||||
| { | ||||
|     private static final long serialVersionUID = 1L; | ||||
|  | ||||
|     public CaptchaException() | ||||
|     { | ||||
|         super("user.jcaptcha.error", null); | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,16 @@ | ||||
| package com.ruoyi.common.exception.user; | ||||
|  | ||||
| /** | ||||
|  * 验证码失效异常类 | ||||
|  *  | ||||
|  * @author ruoyi | ||||
|  */ | ||||
| public class CaptchaExpireException extends UserException | ||||
| { | ||||
|     private static final long serialVersionUID = 1L; | ||||
|  | ||||
|     public CaptchaExpireException() | ||||
|     { | ||||
|         super("user.jcaptcha.expire", null); | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,18 @@ | ||||
| package com.ruoyi.common.exception.user; | ||||
|  | ||||
| import com.ruoyi.common.exception.BaseException; | ||||
|  | ||||
| /** | ||||
|  * 用户信息异常类 | ||||
|  *  | ||||
|  * @author ruoyi | ||||
|  */ | ||||
| public class UserException extends BaseException | ||||
| { | ||||
|     private static final long serialVersionUID = 1L; | ||||
|  | ||||
|     public UserException(String code, Object[] args) | ||||
|     { | ||||
|         super("user", code, args, null); | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,16 @@ | ||||
| package com.ruoyi.common.exception.user; | ||||
|  | ||||
| /** | ||||
|  * 用户密码不正确或不符合规范异常类 | ||||
|  *  | ||||
|  * @author ruoyi | ||||
|  */ | ||||
| public class UserPasswordNotMatchException extends UserException | ||||
| { | ||||
|     private static final long serialVersionUID = 1L; | ||||
|  | ||||
|     public UserPasswordNotMatchException() | ||||
|     { | ||||
|         super("user.password.not.match", null); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 RuoYi
					RuoYi