public class MapperException extends RuntimeException {
public MapperException() {
super();
}
public MapperException(String message) {
super(message);
}
public MapperException(String message, Throwable cause) {
super(message, cause);
}
public MapperException(Throwable cause) {
super(cause);
}
}
throw new MapperException("类 " + entityClass.getSimpleName() + " 不包含属性 \'" + property + "\',或该属性被@Transient注释!");