@ -1,4 +1,14 @@
package com.canvas.web.exception.user;
public class CaptchaException {
import com.canvas.web.exception.BaseException;
//验证码处理异常
public class CaptchaException extends UserException {
private static final long seriaVersionUID = 1L;
public CaptchaException() {
super("user.jcaptcha.error", null);
}
@ -0,0 +1,14 @@
//用户处理异常
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,12 @@
//用户不存在异常
public class UserNotExistsException extends UserException {
public UserNotExistsException() {
super("user.not.exits",null);