try catch error

  1. 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...
  2. 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...