throw new RuntimeException(e);
throw new RuntimeException(e.getMessage());
        public void run(){            try {                eventCount = eventManager.waitForEvent(eventName, timeout);            } catch (InterruptedException ie){                ie.printStackTrace();                eventCount = 0;            } catch (Exception e){                throw new RuntimeException(e);            }        }