Exception handling in processing.net.* -- why can't I catch exceptions?

I have been using the SharedCanvasClient and SharedCavasServer to test this.

  if (c.active() == false) 
    {
    println("Client not Connected");
    clientFlag = false;
    }

Processing still displays all the “gobbledygook” about what happened if you can’t connect to server but you can still proceed and use the clientFlag as you wish; I used it so I would not use any of the client methods for now. I may try reconnecting to server in future exploration of this.

1 Like