... | ... | @@ -43,8 +43,7 @@ TeeTime already comes with 3 different listeners: |
|
|
|
|
|
You can either use one of this 3 listeners or implement your own by extending `AbstractExceptionListener`.
|
|
|
TeeTime creates a new instance of the desired listener for every thread within the analysis, by using a factory.
|
|
|
|
|
|
By default TeeTime uses the `TerminatingExceptionListener`, but you can select a different one by passing over the corresponding factory to the constructor of the `Configuration` class.
|
|
|
You can tell TeeTime to use a particular listener by passing over the corresponding factory to the constructor of the `Configuration` class.
|
|
|
|
|
|
Your own listener also needs a factory which creates new instances. For example:
|
|
|
|
... | ... | |