try catch error

  1. Alex_Puz

    Android Question GeoLocation Library ERROR

    Hello, SDK=30, Android 12, Oppo-Reno5 if GeoLocation is OFF then error invoike Logger connected to: OPPO CPH2211 --------- beginning of main ** Service (starter) Destroy (ignored)** *** Service (starter) Create *** ** Service (starter) Start ** ** Activity (main) Create, isFirst = true ** **...
  2. D

    Android Question Problem with Try Catch and Wait for

    Hi, Guys I appear to have a problem when I insert a resummable sub, within a try/catch block i.e. ' This will work Ok if the is error in DoSomething() - ' Try a = DoSomething(...) Catch Log(LastException) ' Catch works and traps the error End Try ' However if DoSomething() returns...
  3. rleiman

    Android Question [SOLVED] - Try/Catch compiler error after when a working app is compiled on a new computer with current B4A

    Greetings, After setting up B4A on a new computer, I made a small test app which I compiled tested. It compile and ran ok. I tried to compile one of my working apps from Google Play and got this try/catch error. The sub routine in the error doesn't have any Try/Catch statements in it. What is...
  4. M

    B4J Question How to catch e re-throw "Port not found" exception?

    Hello Evryone! I use jSerial library to connect to some device on serial/usb port. I've a class that manage the connection with the devices and I'd like to catch the "Port not found" exception if the specified port doesn't exist. I've used this code in the class that manage the connections: Sub...
  5. W

    Wish Error handling (resume next)

    The one (and only) way of error handling is now 'Try Catch'. While an error occured, Try jumps to Catch out of the code flow : the code flow ends on the line with the error. I have so many code to written with database reads and string handles etc etc. At now I must check everything (consist...
Top