B4J Question On Error?

bdunkleysmith

Active Member
Licensed User
Longtime User
Does B4J have the ability to handle an error as is done in Visual Basic? eg:
Code: Copy
On Error GoTo Handler
    Throw New DivideByZeroException()
Handler:
    If (TypeOf Err.GetException() Is DivideByZeroException) Then
    ' Code for handling the error is entered here.
    End If
 
this

Try
If EventData.ClickCount=2 Then
'''''
End If
Catch
' Code for handling the error is entered here.
End Try
 
Upvote 0
Back
Top