ate static void addExceptionInfo(List<? super GroovyCompilerMessage> compilerMessages, Throwable e, String message) {
    final StringWriter writer = new StringWriter();
    e.printStackTrace(new PrintWriter(writer));
    compilerMessages.add(new GroovyCompilerMessage(
      GroovyCompilerMessageCategories.WARNING, message + ":\n" + writer,
      "<exception>", -1, -1
    ));
  }

  
ate static void addExceptionInfo(List<? super GroovyCompilerMessage> compilerMessages, Throwable e, String message) {
 