163164165166167168169170171172173
for (int i = 0; i < CONSUMER_COUNT; i++) { new Thread("Consumer:" + i) { public void run() { try { consumer.call(); } catch (Throwable e) { e.printStackTrace(); workerError[0] = e; } }