Exception Handling

BlitzMax Forums/BlitzMax Programming/Exception Handling

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Its not really reflection (as in BRL.Reflection), just normal casting...
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.