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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.