... | ... | @@ -38,8 +38,8 @@ Furthermore, we decide to let the analysis continue with its execution. To do so |
|
|
TeeTime already comes with 3 different listeners:
|
|
|
|
|
|
* `IgnoringExceptionListener` (default in 1.x): Ignores the exception and does not abort the execution
|
|
|
* `LoggingExceptionListener` (default in 2.x): Logs the exception and does not abort the execution
|
|
|
* `TerminatingExceptionListener`: Terminates the analysis after the first thrown exception
|
|
|
* `LoggingExceptionListener`: Logs the exception and does not abort the execution
|
|
|
* `TerminatingExceptionListener` (default in 2.x): Terminates the analysis after the first thrown exception
|
|
|
|
|
|
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.
|
... | ... | |