Hi,
I am trying to work out how to stop the Java error messages from displaying when an error occurs, but can't work it out.
I am using the code as shown in the image below and when it runs it should be connecting to a TCP/IP device.
In my example it is trying to connect to 192.168.0.252 on port 1234.
As you can see (in the image below) it failed since this device I am connecting to is offline.
When the device is online it works fine (of course).
Since it failed, it logged the Error message but as you can see it also logged the Java error message as shown in red in the log.
Is there a way to stop logging the Java error as shown in red ? (this happens in debug as well as in release mode.)
I am using B4J version 4.50.
I have also noticed that the astream_Error and astream_Terminated subs never trigger.
I am trying to work out how to stop the Java error messages from displaying when an error occurs, but can't work it out.
I am using the code as shown in the image below and when it runs it should be connecting to a TCP/IP device.
In my example it is trying to connect to 192.168.0.252 on port 1234.
As you can see (in the image below) it failed since this device I am connecting to is offline.
When the device is online it works fine (of course).
Since it failed, it logged the Error message but as you can see it also logged the Java error message as shown in red in the log.
Is there a way to stop logging the Java error as shown in red ? (this happens in debug as well as in release mode.)
I am using B4J version 4.50.
I have also noticed that the astream_Error and astream_Terminated subs never trigger.