Changed event handler config to a list of the FQN of listeners

This commit is contained in:
Jonas Bonér 2011-03-07 12:18:00 +01:00
parent 53c824d1e8
commit 2168e861bf
4 changed files with 26 additions and 16 deletions

View file

@ -208,7 +208,7 @@ class BoundedExecutorDecorator(val executor: ExecutorService, bound: Int) extend
})
} catch {
case e: RejectedExecutionException =>
EventHandler notifyListeners EventHandler.Warning(e, this)
EventHandler notifyListeners EventHandler.Warning(this, e.toString)
semaphore.release
case e: Throwable =>
EventHandler notifyListeners EventHandler.Error(e, this)