Merge "Remove use of deprecated Exceptions"
authorEd Warnicke <eaw@cisco.com>
Mon, 10 Feb 2014 23:44:08 +0000 (23:44 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 10 Feb 2014 23:44:08 +0000 (23:44 +0000)
opendaylight/netconf/netconf-api/src/main/java/org/opendaylight/controller/netconf/api/NetconfDeserializerException.java
opendaylight/netconf/netconf-api/src/main/java/org/opendaylight/controller/netconf/api/NetconfDocumentedException.java

index f42db6938de7e6a6c2b7048271e7ce65840b0c82..6e27b48978549e95fecb9dd84663ff9a74e8154e 100644 (file)
@@ -8,14 +8,12 @@
 
 package org.opendaylight.controller.netconf.api;
 
-import org.opendaylight.protocol.framework.DeserializerException;
-
 /**
  * This exception is thrown by
  * {@link NetconfSessionListener#onMessage(NetconfMessage)} to indicate fatal
  * communication problem after which the session should be closed.
  */
-public class NetconfDeserializerException extends DeserializerException {
+public class NetconfDeserializerException extends Exception {
     private static final long serialVersionUID = 1L;
 
     public NetconfDeserializerException(final String message) {
index 1107572df1bda55be26504399697b7327f68636c..5a85e9425783c4171ce41d52b01dd71b9a3c9079 100644 (file)
@@ -11,13 +11,11 @@ package org.opendaylight.controller.netconf.api;
 import java.util.Collections;
 import java.util.Map;
 
-import org.opendaylight.protocol.framework.DocumentedException;
-
 /**
  * Checked exception to communicate an error that needs to be sent to the
  * netconf client.
  */
-public class NetconfDocumentedException extends DocumentedException {
+public class NetconfDocumentedException extends Exception {
 
     private static final long serialVersionUID = 1L;