Advertisement
BoberDiversant

Untitled

May 30th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.35 KB | None | 0 0
  1.  protected static void validateCommonParameters(CommonParameters parameters) {
  2.         String COMMON_PARAMETERS = "commonParameters";
  3.         String LOCALE = "locale";
  4.         if (parameters == null || parameters.getLocale() == null || "".equals(parameters.getLocale()))
  5.             throw new ParameterNotFoundException(COMMON_PARAMETERS, LOCALE);
  6.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement