exception

  1. S

    B4A Class Exception, raise, log and format

    Hello, Sometimes you need to stop a piece of code and explain why you have to do it. A good way is to raise an exception and to give information about the reason why. This little class offers you a pratical way to do this : 1) Add the class to your project Public fException As clsException...
  2. A

    Android Question What does this exception mean - anywheresoftware.b4a.pc.Debug$ExceptionWithModuleAndLine

    Hi all. Please help me - what does this exception mean - anywheresoftware.b4a.pc.Debug$ExceptionWithModuleAndLine. I debugged my code and got this exception. Exception didn't happen after I clicked Ctlr+P to clean up my project. I didn't change any line in my code, didn't change any byte in...
  3. uniplan

    Android Question Strange CursorIndexOutOfBoundsException

    I have a strange problem (only on any smartphone) when i try to get value from resultset when inside result set i keep the blob column. android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1 at this point dim value as string = rst.GetString2(0) or for blob Dim...
  4. Sandman

    Wish Make thrown exceptions keep their type while live updating code

    This Wish is in reference to this thread: Does exceptions in inline java mess with live updating the code? https://www.b4x.com/android/forum/threads/does-exceptions-in-inline-java-mess-with-live-updating-the-code.98502/ In some cases (see thread above) a thrown exception gets its type changed...
  5. Sandman

    Android Question Does exceptions in inline java mess with live updating the code?

    I'm testing some things and have a piece of inline java that is throwing an exception under some conditions. That exception is not fatal for the app at all, and is also wrapped in a try/catch block. However, if the exception is thrown, it's not possible to live update the code anymore. In...
  6. FERNANDO SILVEIRA

    Android Question InvocationTargetException when loading Layout1

    Hello Guys, I'm having hard time to test this app. It is presenting the following error when I do an Activity.LoadLayout("Layout1") App basic code: Load Layout1 (1 panel with 1 label field) User click on label ==> start Content Chooser to select a photo Load selected photo on image...
  7. Sandman

    Android Question [SOLVED] Is Error.Message always same as first line in StackTrace?

    As far as I can tell, Error.Message is always the first line of the StackTrace. Is that always true or can they be different?
  8. Sandman

    iOS Question [SOLVED] How to handle uncaught exceptions?

    Have we got a way to handle uncaught exceptions in our B4I apps? I'm thinking something like this, which is for B4A, https://www.b4x.com/android/forum/threads/uncaught-exceptions.59805/ Apologies if this is super obvious, but I was unable to find anything in the forum about it, and my B4I...
Top