/** * If the parameter is not supported throw an exception * * @param paramKey */ public static void checkUnsupported(String paramKey) { if (!isSupported(paramKey)) { throw new ParameterException(paramKey + " parameter is not supported"); } } }
/** * If the parameter is not supported throw an exception * * @param paramKey */ public static void checkUnsupported(String paramKey) { if (!isSupported(paramKey)) { throw new ParameterException(paramKey + " parameter is not supported"); } } }