public void OnFailure(ICall p0, IOException p1) { var sw = new Java.IO.StringWriter(); p1.PrintStackTrace(new PrintWriter(sw)); taskSource.TrySetException(new OkHttpException(p1.Message + "\r\n" + sw.Buffer.ToString())); }