OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d4c087
)
UserStreamLoopでのArgumentExceptionに対応。StreamReaderの読み取りエラー。通信経路もしくはホストから切断された場合と思われる。
author
kiri_feather
<kiri_feather@users.sourceforge.jp>
Thu, 9 Dec 2010 00:14:50 +0000
(
00:14
+0000)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:17:00 +0000
(23:17 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@1180
e39ad16e
-3079-482e-bb30-
4b4d378143b6
Tween/Twitter.vb
patch
|
blob
|
history
diff --git
a/Tween/Twitter.vb
b/Tween/Twitter.vb
index
fc30a68
..
f36a7ce
100644
(file)
--- a/
Tween/Twitter.vb
+++ b/
Tween/Twitter.vb
@@
-3041,6
+3041,12
@@
Public Class Twitter
TraceOut("Stop:IOException with Active." + Environment.NewLine + ex.Message)
Thread.Sleep(10 * 1000)
End If
+ Catch ex As ArgumentException
+ 'System.ArgumentException: ストリームを読み取れませんでした。
+ 'サーバー側もしくは通信経路上で切断された場合?タイムアウト頻発後発生
+ RaiseEvent Stopped()
+ TraceOut(ex, "Stop:ArgumentException")
+ Thread.Sleep(10 * 1000)
Catch ex As Exception
TraceOut("Stop:Exception." + Environment.NewLine + ex.Message)
ExceptionOut(ex)