public class Util extends Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
protected static void |
validateParamsPresence(Map params,
String... keys)
Will throw
IllegalArgumentException if a key in the map is missing. |
protected static void validateParamsPresence(Map params, String... keys)
IllegalArgumentException
if a key in the map is missing.
If a map does nto have all the passed in keys in it, this method will throw exception.params
- map with valueskeys
- list of keys to checkCopyright © 2016. All rights reserved.