DocumentedException and DeserializerException are deprecated and were
only used by deprecated interfaces which we no longer use. Stop using
them.
Change-Id: I899beb6d08be2c4a0b17ecbe6e1ca2be334e12a9
Signed-off-by: Robert Varga <rovarga@cisco.com>
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) {
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;