package cn.hmsoft.exception.develop;

/*******************************
 * 开发期间错误：主键未定义
 * @author zxq
 * @create 2019-05-05 09:58:00
 * @version 2.0.0
 * @email: revisit@126.com
 * @Company: www.hmsoft.cn
 */
public class PrimaryKeyNotDefinedException extends DevelopException {
	private static final long serialVersionUID = -909274313592887210L;
	private static final int err_code = 10203;

	private static final String msg = "主键未定义，请定义主键，实体类名称为：";

	public PrimaryKeyNotDefinedException(Class<?> clazz) {
		super(err_code, msg + clazz.getName());
	}

}
