public static String MakeHttpErrorString(JwHttpConnectionError x, String lineTerminator) { StringBuilder sb = new StringBuilder(); // kludge (err) - language sb.Append("There was a problem connecting to the server."); sb.Append(lineTerminator); sb.Append("host name: "); sb.Append(x.HostName); sb.Append(lineTerminator); sb.Append("request path: "); sb.Append(x.RequestPath); sb.Append(lineTerminator); sb.Append("port: "); sb.Append(x.Port); sb.Append(lineTerminator); return sb.ToString(); }
public void HandleHttpConnectionError(JwHttpConnectionError x) { StopThread(); Engine.GetConnectionErrorEngine().ShowFirstPanel(); /* StringBuilder sb = new StringBuilder(); // kludge (err) - language sb.Append("There was a problem connecting to the server.\r\n"); sb.Append("host name: "); sb.Append(x.HostName); sb.Append("\r\n"); sb.Append("request path: "); sb.Append(x.RequestPath); sb.Append("\r\n"); sb.Append("port: "); sb.Append(x.Port); sb.Append("\r\n"); UpdateList("Transmit Failed."); UpdateList(sb.ToString()); // kludge (err) - language VmApplication.Default.ShowNotification("There was a problem connecting to the server."); */ }
public static String MakeHttpErrorString(JwHttpConnectionError x) { return MakeHttpErrorString(x, "/r/n"); }
public static String MakeHttpErrorHtmlString(JwHttpConnectionError x) { return MakeHttpErrorString(x, "<BR>"); }