using System.Threading;\r
using System.Threading.Tasks;\r
using System.Windows.Forms;\r
-using System.Xml;\r
using Microsoft.CSharp.RuntimeBinder;\r
using Microsoft.Win32;\r
using static System.Math;\r
{\r
ShowServerError(url, request, response, e);\r
}\r
- catch (XmlException e)\r
- {\r
- ShowServerError(url, request, response, e);\r
- }\r
catch (RuntimeBinderException e)\r
{\r
if (_errorDialog.ShowDialog(this,\r
if (_errorDialog.ShowDialog(this, e.Message, e.InnerException.ToString()) == DialogResult.Abort)\r
Application.Exit();\r
}\r
+ catch (Exception e)\r
+ {\r
+ if (_errorDialog.ShowDialog(this, "エラーが発生しました。", e.ToString()) == DialogResult.Abort)\r
+ Application.Exit();\r
+ }\r
}\r
\r
private void WriteDebugLog(string url, string request, string response)\r