Hi
I try to run a activity module that does not exist and wish to catch the exception using a try catch, i.e. catch a LastException java.lang.ClassCastException: java.lang.NoClassDefFoundError as follows
But my program remains prompting an error and does not move to catch codes.
My codes as follow:
Sub StartTests(testname As String)
Try
StartActivity(test)
Catch
'WriteToDebugWnd("Test not availale: " & test & " " & LastException.Message)
End Try
End Sub
Did I miss out anything?
Thanks,
I try to run a activity module that does not exist and wish to catch the exception using a try catch, i.e. catch a LastException java.lang.ClassCastException: java.lang.NoClassDefFoundError as follows
But my program remains prompting an error and does not move to catch codes.
My codes as follow:
Sub StartTests(testname As String)
Try
StartActivity(test)
Catch
'WriteToDebugWnd("Test not availale: " & test & " " & LastException.Message)
End Try
End Sub
Did I miss out anything?
Thanks,