ConnectionException moved to proper package 59/18759/4
authorMartin Bobak <mbobak@cisco.com>
Tue, 21 Apr 2015 14:05:09 +0000 (16:05 +0200)
committerMartin Bobak <mbobak@cisco.com>
Wed, 22 Apr 2015 07:38:46 +0000 (09:38 +0200)
Change-Id: I304599af9ea02033eb17aa4e50ffbc5f0ceec61e
Signed-off-by: Martin Bobak <mbobak@cisco.com>
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/ConnectionException.java [moved from openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/ConnectionException.java with 91% similarity]
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/ErrorHandlerSimpleImpl.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/session/MessageDispatchServiceImpl.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/util/RpcResultUtil.java
openflowplugin/src/test/java/org/opendaylight/openflowplugin/openflow/md/core/ErrorHandlerSimpleImplTest.java

similarity index 91%
rename from openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/ConnectionException.java
rename to openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/ConnectionException.java
index e8e8023b056b17915a5c6b87733a6d1a8ffea6f3..f20ddf30020d382b8a45683fbb062588bb68d606 100644 (file)
@@ -5,7 +5,7 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-package org.opendaylight.openflowplugin;
+package org.opendaylight.openflowplugin.api;
 
 /**
  * Created by Martin Bobak mbobak@cisco.com on 7/8/14.
index f4cad4e3627b27f9c1acec7f3ea2b70b450cacbc..645ee9bee318a88700e3202a0525043f7a99b4f9 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.openflowplugin.openflow.md.core;
 
 import java.util.Arrays;
 
-import org.opendaylight.openflowplugin.ConnectionException;
+import org.opendaylight.openflowplugin.api.ConnectionException;
 import org.opendaylight.openflowplugin.api.openflow.md.core.ErrorHandler;
 import org.opendaylight.openflowplugin.api.openflow.md.core.session.SessionContext;
 import org.slf4j.Logger;
index f3c122b723e16da42da360d701c3278c4b894376..3dcf90933d09372c9c4f7d17bcc82b30d4e2fa1b 100644 (file)
@@ -13,7 +13,7 @@ import com.google.common.util.concurrent.JdkFutureAdapters;
 import com.google.common.util.concurrent.ListenableFuture;
 
 import org.opendaylight.openflowjava.protocol.api.connection.ConnectionAdapter;
-import org.opendaylight.openflowplugin.ConnectionException;
+import org.opendaylight.openflowplugin.api.ConnectionException;
 import org.opendaylight.openflowplugin.api.openflow.md.core.ConnectionConductor;
 import org.opendaylight.openflowplugin.api.openflow.md.core.SwitchConnectionDistinguisher;
 import org.opendaylight.openflowplugin.api.openflow.md.core.session.IMessageDispatchService;
index 43f8c4f361c6d25323c63d9ab596e2756cc73974..4ade36caa3c3738d325fd5b4d6862ee93c4ac224 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.openflowplugin.openflow.md.util;
 import com.google.common.util.concurrent.SettableFuture;
 import java.util.ArrayList;
 import java.util.List;
-import org.opendaylight.openflowplugin.ConnectionException;
+import org.opendaylight.openflowplugin.api.ConnectionException;
 import org.opendaylight.openflowplugin.api.OFConstants;
 import org.opendaylight.openflowplugin.api.openflow.md.core.session.IMessageDispatchService;
 import org.opendaylight.yangtools.yang.common.RpcError;
index 59bb3df75ff95830829ea9220a091f8835aace53..5a8d4f5289def618e2d01304b87e038dd49b4e99 100644 (file)
@@ -14,7 +14,7 @@ import junit.framework.TestCase;
 import org.junit.Before;
 import org.junit.Test;
 import org.mockito.MockitoAnnotations;
-import org.opendaylight.openflowplugin.ConnectionException;
+import org.opendaylight.openflowplugin.api.ConnectionException;
 import org.opendaylight.openflowplugin.api.openflow.md.core.ErrorHandler;
 import org.opendaylight.openflowplugin.api.openflow.md.core.session.SessionContext;
 import org.opendaylight.openflowplugin.api.openflow.md.core.session.SwitchSessionKeyOF;