private void checkType(String key, Class<? extends Object> clazz) throws NoConfigException, DataWrongTypeException {
		List<String> keys = this.config(clazz);
		if (!keys.contains(key)) {
		    throw new DataWrongTypeException(String.format("%s got the wrong type[%s].", key, clazz.getName()));
		}
	}