code: public static String generateCompilationStacktrace(
  		final DiagnosticCollector<JavaFileObject> diagnosticCollectors)
  	{
  		final StringBuilder sb = new StringBuilder();
  		for (final Diagnostic<? extends JavaFileObject> diagnostic : diagnosticCollectors
  			.getDiagnostics())
  		{
  			sb.append(diagnostic.getMessage(null));
  			sb.append(SeparatorConstants.SEMI_COLON_WHITE_SPACE);
  		}
  		return sb.toString();
  	}
docs: Generate a compilation stacktrace from the given parameter.
  
  @param diagnosticCollectors
  the diagnostic collectors
  @return the generated stacktrace string.