Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected static void validateCommonParameters(CommonParameters parameters) {
- String COMMON_PARAMETERS = "commonParameters";
- String LOCALE = "locale";
- if (parameters == null || parameters.getLocale() == null || "".equals(parameters.getLocale()))
- throw new ParameterNotFoundException(COMMON_PARAMETERS, LOCALE);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement