Custom Query (162 matches)
Results (7 - 9 of 162)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#147 | fixed | 派生クラスの例外を基底クラス型で受け取れない。 | ||
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) |
|||
#61 | fixed | 派生クラスから基底クラスへのインスタンスコピーまたは参照を可能にする | ||
#203 | fixed | 標準の配色以外でConsole.ResetColorが機能しない | ||
Description |
Console.ResetColor内部で背景=黒、前景=灰と決め打ちしているため、それ以外の配色を使用しているときにはResetColorの役目を果たさなくなってしまいます。 |
Note:
See TracQuery
for help on using queries.