Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-10-14 14:38:47 +0000
committerMarkus Tiede2014-10-15 07:18:20 +0000
commit77e9f8fcf9a4f8df9b538c91fc25eaf9e3cf1d3b (patch)
treee1830f2542cd316a7e12ff4362d165db7a085d59 /org.eclipse.jubula.client.api
parent105596d2fc402703a0486c7a1f3b53bff723759b (diff)
downloadorg.eclipse.jubula.core-77e9f8fcf9a4f8df9b538c91fc25eaf9e3cf1d3b.tar.gz
org.eclipse.jubula.core-77e9f8fcf9a4f8df9b538c91fc25eaf9e3cf1d3b.tar.xz
org.eclipse.jubula.core-77e9f8fcf9a4f8df9b538c91fc25eaf9e3cf1d3b.zip
Sprint task - provide API: implement connect to AUT via API - part 8: minor cleanup.
Diffstat (limited to 'org.eclipse.jubula.client.api')
-rw-r--r--org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/OM.java18
-rw-r--r--org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java5
2 files changed, 16 insertions, 7 deletions
diff --git a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/OM.java b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/OM.java
index 1b6bda834..5cd85e4a1 100644
--- a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/OM.java
+++ b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/OM.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2014 BREDEX GmbH.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * BREDEX GmbH - initial API and implementation and/or initial documentation
+ *******************************************************************************/
package org.eclipse.jubula.client;
import java.net.URL;
@@ -6,17 +16,19 @@ import org.eclipse.jubula.tools.ComponentIdentifier;
/**
* Utility class for loading object mapping associations
+ *
* @author BREDEX GmbH
* @created Oct 13, 2014
*/
public interface OM {
-
/**
* Initializes the object mapping associations
- * @param resourceURL the URL to the resource properties file
+ *
+ * @param resourceURL
+ * the URL to the resource properties file
*/
public void init(URL resourceURL);
-
+
/**
* Returns the component identifier for a component name from the cache
*
diff --git a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
index 66ade3a4f..5714789e2 100644
--- a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
+++ b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
@@ -19,7 +19,6 @@ import org.eclipse.jubula.client.exceptions.ComponentNotFoundException;
import org.eclipse.jubula.client.exceptions.ConfigurationException;
import org.eclipse.jubula.client.exceptions.ExecutionException;
import org.eclipse.jubula.client.internal.AUTConnection;
-import org.eclipse.jubula.client.internal.BaseConnection.NotConnectedException;
import org.eclipse.jubula.client.internal.Synchronizer;
import org.eclipse.jubula.communication.CAP;
import org.eclipse.jubula.communication.internal.message.CAPTestMessage;
@@ -39,7 +38,7 @@ import org.slf4j.LoggerFactory;
/** @author BREDEX GmbH */
public class AUTImpl implements AUT {
/** the logger */
- private static Logger log = LoggerFactory.getLogger(AUTAgentImpl.class);
+ private static Logger log = LoggerFactory.getLogger(AUTImpl.class);
/** the AUT identifier */
private AutIdentifier m_autID;
@@ -118,8 +117,6 @@ public class AUTImpl implements AUT {
} catch (UnknownMessageException e) {
log.error(e.getLocalizedMessage(), e);
- } catch (NotConnectedException e) {
- log.error(e.getLocalizedMessage(), e);
} catch (CommunicationException e) {
log.error(e.getLocalizedMessage(), e);
} catch (InterruptedException e) {

Back to the top