for (int i = 0; i < patternList.length; ++i) { Pattern pattern = patternList[i];
for (Pattern pattern : patternList) {
	public static String getMissingClassName(ClassNotFoundException ex) {		for (int i = 0; i < patternList.length; ++i) {			Pattern pattern = patternList[i];			Matcher matcher = pattern.matcher(ex.getMessage());			if (matcher.matches())				return matcher.group(1);		}		return null;	}