throw RuntimeException if wait was interrupted

master
melvin 2011-07-28 11:37:58 +08:00
parent 7ebca1b039
commit 556217e7b3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public final class DelayedViewersThread extends Thread {
//wait for 100ms
wait(100);
} catch (final InterruptedException ex) {
System.err.println("Interrupted : "+ex.getMessage());
throw new RuntimeException(ex.getMessage());
}
}
}