Matcher matcher = missingClassPattern.matcher(message); if (matcher.matches()) message = matcher.group(1);
String className = ClassNotFoundExceptionParser.getMissingClassName(ex); if (className != null) return className;
	public static String getMissingClassName(ClassNotFoundException ex) {		String message = ex.getMessage();		// Try to decode the error message by extracting the class name.		// BCEL seems to report missing classes in a fairly consistent way.		Matcher matcher = missingClassPattern.matcher(message);		if (matcher.matches())			message = matcher.group(1);		return message;	}