bdunkleysmith Active Member Licensed User Longtime User Jun 21, 2014 #1 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
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
alienhunter Active Member Licensed User Longtime User Jun 21, 2014 #2 this Try If EventData.ClickCount=2 Then ''''' End If Catch ' Code for handling the error is entered here. End Try Upvote 0
this Try If EventData.ClickCount=2 Then ''''' End If Catch ' Code for handling the error is entered here. End Try
warwound Expert Licensed User Longtime User Jun 21, 2014 #3 And the IDE LastException keyword will give you the last exception object. Martin. Upvote 0