Skip to content
Snippets Groups Projects
Commit b8271c06 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

changed the default exceptionlistener

parent 2ec4223d
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory; ...@@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory;
import teetime.framework.exceptionHandling.AbstractExceptionListener; import teetime.framework.exceptionHandling.AbstractExceptionListener;
import teetime.framework.exceptionHandling.IExceptionListenerFactory; import teetime.framework.exceptionHandling.IExceptionListenerFactory;
import teetime.framework.exceptionHandling.IgnoringExceptionListenerFactory; import teetime.framework.exceptionHandling.TerminatingExceptionListenerFactory;
import teetime.framework.signal.InitializingSignal; import teetime.framework.signal.InitializingSignal;
import teetime.framework.signal.ValidatingSignal; import teetime.framework.signal.ValidatingSignal;
import teetime.framework.validation.AnalysisNotValidException; import teetime.framework.validation.AnalysisNotValidException;
...@@ -72,11 +72,11 @@ public final class Execution<T extends Configuration> implements UncaughtExcepti ...@@ -72,11 +72,11 @@ public final class Execution<T extends Configuration> implements UncaughtExcepti
* to be used for the analysis * to be used for the analysis
*/ */
public Execution(final T configuration) { public Execution(final T configuration) {
this(configuration, false, new IgnoringExceptionListenerFactory()); this(configuration, false, new TerminatingExceptionListenerFactory());
} }
public Execution(final T configuration, final boolean validationEnabled) { public Execution(final T configuration, final boolean validationEnabled) {
this(configuration, validationEnabled, new IgnoringExceptionListenerFactory()); this(configuration, validationEnabled, new TerminatingExceptionListenerFactory());
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment