public void run() {
try {
Object errorRaw = connectionFactory
.getClientErrorIn().readObject();
if (errorRaw instanceof SessionErrorVideoActivity) {
SessionErrorVideoActivity error = (SessionErrorVideoActivity) errorRaw;
if (!(error.getException() instanceof IOException))
// IOE are just confusing
VideoSharing.reportErrorToUser(
error.getException(),
"Screensharing: Inviter got an exception");
}
} catch (IOException e) {
// ignore
} catch (ClassNotFoundException e) {