Changed API for EventHandler and added support for log levels

This commit is contained in:
Jonas Bonér 2011-03-14 10:45:49 +01:00
parent 36c6c9f59d
commit 33dc617810
16 changed files with 69 additions and 35 deletions

View file

@ -36,7 +36,7 @@ final case class FutureInvocation(future: CompletableFuture[Any], function: () =
Right(function.apply)
} catch {
case e: Exception =>
EventHandler notifyListeners EventHandler.Error(e, this)
EventHandler notify EventHandler.Error(e, this)
Left(e)
})
}