ValidationException.java 615 Bytes
Newer Older
竹天卫's avatar
竹天卫 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package cn.wise.im.common.exception;


import cn.wise.im.common.currency.IResponseEnum;

/**
 * <p>校验异常</p>
 * <p>调用接口时,参数格式不合法可以抛出该异常</p>
 */
public class ValidationException extends  BaseException {

    private static final long serialVersionUID = 1L;

    public ValidationException(IResponseEnum responseEnum, Object[] args, String message) {
        super(responseEnum, args, message);
    }

    public ValidationException(IResponseEnum responseEnum, Object[] args, String message, Throwable cause) {
        super(responseEnum, args, message, cause);
    }
}