Class Util
java.lang.Object
org.javalite.activeweb.freemarker.Util
- Author:
- Igor Polevoy
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
validateParamsPresence(Map params, String... keys)
Will throwIllegalArgumentException
if a key in the map is missing.
-
Method Details
-
validateParamsPresence
Will throwIllegalArgumentException
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.- Parameters:
params
- map with valueskeys
- list of keys to check
-