ParserUtility.validateMap(Map<String, Object> map) 方法
定义
Helper to validate if the provided map in terms of maximum levels and optionally if the keys ar not metadata.
public static void validateMap(Map<String, Object> map)
参数
- map
- Map<String, Object>
theMap
</code> to be validate. It can be<code>null
</code> , and it will succeed in this case. </p>
例外
IllegalArgumentException
If the Map contains more than maxLevel levels or do not allow metadata but contains metadata key.