AccountErrorException.java 500 Bytes
package com.server.shiro.exception;

import org.apache.shiro.authc.AuthenticationException;

/**
 * Created by yinbinhome@163.com on 2018/2/24.
 * description:
 * 自定义异常类,用户名或者密码错误时抛出此异常,
 * 不做用户存在或者不存在的错误判断
 */
public class AccountErrorException extends AuthenticationException {
    public AccountErrorException(){
        super();
    }

    public AccountErrorException(String message){
        super(message);
    }
}