Custom Query (162 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (52 - 54 of 162)

Ticket Resolution Summary Owner Reporter
#147 fixed 派生クラスの例外を基底クラス型で受け取れない。 イグトランス (egtra) イグトランス (egtra)
Description

次のプログラムでCatch As Exceptionという出力がなされない。ステップ実行してもCatch内に入らない。

#console
Imports System
Try
	Throw New SystemException("SystemException") 'SystemExceptionはExceptionの派生クラス
Catch e As Exception
	Print "Catch As Exception"
End Try

Sleep(-1)

次のプログラムでは、Catch As SystemExceptionが出力される。Catch節を上から順に見て、最初に見付かるSystemExceptionをCatch可能なCatch節として、Catch e As Exception以下へ制御が移るようにすべき。

#console
Imports System
Try
	Throw New SystemException("aa")
Catch e As Exception
	Print "Catch As Exception"
Catch e As SystemException
	Print "Catch As SystemException"
End Try

Sleep(-1)
#144 fixed 例外クラスの実装 イグトランス (egtra) イグトランス (egtra)
Description

コンパイラに例外機構が搭載されたのに、ライブラリ側の対応がなされていない。まずは、System.Exceptionを初めとする例外クラス群を実装する。

#143 fixed 引数なしの例外でCatchが無限ループする dai OverTaker
Description

なぜかCatch内が何度も実行されます。

Try
	proc()
Catch
	MessageBox(0, "catch", "title", MB_OK)
Finally
	MessageBox(0, "finally", "title", MB_OK)
End Try

Sub proc()
	Throw
End Sub
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.