package com.github.blindpirate.gogradle.util;

public class ExceptionHandler {
    public static RuntimeException uncheckException(Throwable e) {
        return new IllegalStateException(e);
    }
}

@@ -40,16 +40,74 @@
 .util;%0A%0A
+import java.io.PrintWriter;%0Aimport java.io.StringWriter;%0A%0A
 public c
@@ -247,11 +247,225 @@
 );%0A    %7D
+%0A%0A    public static String getStackTrace(Throwable e) %7B%0A        StringWriter sw = new StringWriter();%0A        PrintWriter pw = new PrintWriter(sw);%0A        e.printStackTrace(pw);%0A        return sw.toString();%0A    %7D
 %0A%7D%0A

Add getStacktrace method