B4J Question Throw Exception

brianoh

Member
Licensed User
Longtime User
I'm just trying out B4J and B4A and I like for obvious reasons to have the ability to throw an exception. From what I can gather, there is the ability to do this in B4A but not B4J. I must admit that this surprises me. It appears to be a trivial task to implement via a Java library item, so all the more reason for my surprise as to why it's not in the core libraries. The Java code is only a one line function. Just want to confirm that I need to create my own very small library to handle this functionality or have I missed something? Perhaps the reason is that B4J emulates VB6 and perhaps VB6 does not provide the facility.
 
Top