svnno****@sourc*****
svnno****@sourc*****
2011年 1月 16日 (日) 16:57:30 JST
Revision: 1355 http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1355 Author: f_swallow Date: 2011-01-16 16:57:30 +0900 (Sun, 16 Jan 2011) Log Message: ----------- List情報取得中に例外が発生する場合に一応対処 Modified Paths: -------------- trunk/Tween/ListAvailable.vb -------------- next part -------------- Modified: trunk/Tween/ListAvailable.vb =================================================================== --- trunk/Tween/ListAvailable.vb 2011-01-15 11:52:26 UTC (rev 1354) +++ trunk/Tween/ListAvailable.vb 2011-01-16 07:57:30 UTC (rev 1355) @@ -87,6 +87,10 @@ End Sub Private Sub RefreshLists_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs) - e.Result = DirectCast(Me.Owner, TweenMain).TwitterInstance.GetListsApi() + Try + e.Result = DirectCast(Me.Owner, TweenMain).TwitterInstance.GetListsApi() + Catch ex As InvalidCastException + Exit Sub + End Try End Sub End Class