Its not really reflection (as in BRL.Reflection), just normal casting...
Essentially the same as:
Also note that you have to follow the class hierarchy in reverse when using multiple catch statements.
Essentially the same as:
Try ... Catch e:Object If TStreamReadException(e) Then ... ElseIf TStreamWriteException(e) Then ... Else Throw e EndIf EndTry
Also note that you have to follow the class hierarchy in reverse when using multiple catch statements.