Class Util
java.lang.Object
org.javalite.activeweb.freemarker.Util
- Author:
- Igor Polevoy
-
Method Summary
Modifier and TypeMethodDescriptionprotected static voidvalidateParamsPresence(Map params, String... keys)Will throwIllegalArgumentExceptionif a key in the map is missing.
-
Method Details
-
validateParamsPresence
Will throwIllegalArgumentExceptionif 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
-