buildframework/helium/sf/java/signaling/src/com/nokia/helium/signal/SignalExceptionMessage.java
--- a/buildframework/helium/sf/java/signaling/src/com/nokia/helium/signal/SignalExceptionMessage.java Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/sf/java/signaling/src/com/nokia/helium/signal/SignalExceptionMessage.java Fri Aug 13 14:59:05 2010 +0300
@@ -1,26 +1,27 @@
/*
-* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:To print the message on the shell in case of build fails for deffered Signals.
-*
-*/
-
+ * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of the License "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description:To print the message on the shell in case of build fails for deffered Signals.
+ *
+ */
+
package com.nokia.helium.signal;
-
+import org.apache.log4j.Logger;
import org.apache.tools.ant.Project;
+import org.apache.tools.ant.types.DataType;
+
import com.nokia.helium.core.ant.HlmExceptionHandler;
-import org.apache.log4j.Logger;
/**
* Class to check the signal is present in the deferred and now signal list.
@@ -28,21 +29,23 @@
*
*/
-public class SignalExceptionMessage implements HlmExceptionHandler {
+public class SignalExceptionMessage extends DataType implements
+ HlmExceptionHandler {
private Logger log = Logger.getLogger(SignalExceptionMessage.class);
-
+
/**
* Implements the Exception method to print the build completed message.
+ *
* @param project
* @param module
* @param e
*/
- public void handleException(Project project, String module, Exception e) {
-
+ public void handleException(Project project, Exception e) {
+
if (SignalStatusList.getDeferredSignalList().hasSignalInList()) {
log.info("Build completed with errors and warnings.");
}
-
+
if (SignalStatusList.getNowSignalList().hasSignalInList()) {
log.info("Build completed with errors and warnings.");
}