
com.mingri.langhuan.cabinet.exception.DataMatchException Maven / Gradle / Ivy
package com.mingri.langhuan.cabinet.exception;
/**
* 数据匹配错误
*
* @author ljl
*/
public class DataMatchException extends IllegalArgumentException {
/**
*
*/
private static final long serialVersionUID = 3819376393254061297L;
public static void throwForNotMatch(Class> matchClass, Object v) {
throw new DataMatchException("data:" + v + " not match" + matchClass);
}
public DataMatchException() {
super();
}
public DataMatchException(String msg) {
super(msg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy