Skip to content
Snippets Groups Projects
Commit dbf02ba3 authored by Richard Alam's avatar Richard Alam
Browse files

- desktop sharing doesn't stop when the applet is tunneling. Catch the...

 - desktop sharing doesn't stop when the applet is tunneling. Catch the exception and stop the applet.
parent 85473602
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
......@@ -232,8 +232,14 @@ public class NetworkHttpStreamSender implements Runnable {
long end = System.currentTimeMillis();
System.out.println("[HTTP " + id + "] Sending " + changedBlocks.length + " blocks took " + (end - start) + " millis");
} catch (java.io.FileNotFoundException e) {
System.out.println("java.io.FileNotFoundException: While sending block data.");
e.printStackTrace();
listener.networkException(1, ExitCode.CONNECTION_TO_DESKSHARE_SERVER_DROPPED);
} catch (IOException e) {
System.out.println("IOException: While sending block data.");
e.printStackTrace();
listener.networkException(1, ExitCode.CONNECTION_TO_DESKSHARE_SERVER_DROPPED);
} catch (ConnectionException e) {
System.out.println("ERROR: Failed to send block data.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment