I am working on my first database app in the B4J/B4A world. My primary programming environment is Classic ASP/Vbscript or PowerBuilder.
I have my B4J app connecting to Microsoft SQL Server and populating a TableView control using DBUtils module.
My question is how do I code proper error handling? If the password on sql1.Initialize is wrong, I don't want it to show a bunch of Java error messages that will scare the user. I want to show a nice msgbox. Same thing when executing a query, how do I code error handling?
I have my B4J app connecting to Microsoft SQL Server and populating a TableView control using DBUtils module.
My question is how do I code proper error handling? If the password on sql1.Initialize is wrong, I don't want it to show a bunch of Java error messages that will scare the user. I want to show a nice msgbox. Same thing when executing a query, how do I code error handling?