From 31a26e22aff07a74248233bc9f500cf38240d504 Mon Sep 17 00:00:00 2001 From: Nelson Tavares de Sousa <ntd@informatik.uni-kiel.de> Date: Fri, 27 Mar 2015 14:12:50 +0100 Subject: [PATCH] renamed classes --- ...ionListenerListener.java => LoggingExceptionListener.java} | 4 ++-- .../exceptionHandling/LoggingExceptionListenerFactory.java | 2 +- .../exceptionHandling/TerminatingExceptionListener.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/main/java/teetime/framework/exceptionHandling/{LoggingExceptionListenerListener.java => LoggingExceptionListener.java} (59%) diff --git a/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerListener.java b/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListener.java similarity index 59% rename from src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerListener.java rename to src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListener.java index 2cdd03d5..941f46e3 100644 --- a/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerListener.java +++ b/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListener.java @@ -2,11 +2,11 @@ package teetime.framework.exceptionHandling; import teetime.framework.Stage; -public class LoggingExceptionListenerListener extends AbstractExceptionListener { +public class LoggingExceptionListener extends AbstractExceptionListener { @Override public FurtherExecution onStageException(final Exception e, final Stage throwingStage) { - logger.warn("Exception arised from" + throwingStage.getId(), e); + logger.warn("Exception occurred in " + throwingStage.getId(), e); return FurtherExecution.CONTINUE; } diff --git a/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java b/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java index 0e040225..a9f3bcc7 100644 --- a/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java +++ b/src/main/java/teetime/framework/exceptionHandling/LoggingExceptionListenerFactory.java @@ -4,7 +4,7 @@ public class LoggingExceptionListenerFactory implements IExceptionListenerFactor @Override public AbstractExceptionListener create() { - return new LoggingExceptionListenerListener(); + return new LoggingExceptionListener(); } } diff --git a/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListener.java b/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListener.java index 14a3f9d7..7149eebb 100644 --- a/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListener.java +++ b/src/main/java/teetime/framework/exceptionHandling/TerminatingExceptionListener.java @@ -6,7 +6,7 @@ public class TerminatingExceptionListener extends AbstractExceptionListener { @Override public FurtherExecution onStageException(final Exception e, final Stage throwingStage) { - logger.warn("Exception arised from" + throwingStage.getId(), e); + logger.warn("Exception occurred in " + throwingStage.getId(), e); return FurtherExecution.TERMINATE; } -- GitLab