Remove deprecated MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / ReadFailedException.java
diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/ReadFailedException.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/ReadFailedException.java
deleted file mode 100644 (file)
index 98ad8ed..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2014 Brocade Communications Systems, Inc. and others.  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
- */
-
-package org.opendaylight.controller.md.sal.common.api.data;
-
-import org.opendaylight.yangtools.util.concurrent.ExceptionMapper;
-import org.opendaylight.yangtools.yang.common.OperationFailedException;
-import org.opendaylight.yangtools.yang.common.RpcError;
-
-/**
- * An exception for a failed read.
- *
- * @deprecated Use {@link org.opendaylight.mdsal.common.api.ReadFailedException} instead.
- */
-@Deprecated(forRemoval = true)
-public class ReadFailedException extends OperationFailedException {
-
-    private static final long serialVersionUID = 1L;
-
-    public static final ExceptionMapper<ReadFailedException> MAPPER =
-        new ExceptionMapper<ReadFailedException>("read", ReadFailedException.class) {
-            @Override
-            protected ReadFailedException newWithCause(String message, Throwable cause) {
-                return new ReadFailedException(message, cause);
-            }
-    };
-
-    public ReadFailedException(String message, RpcError... errors) {
-        super(message, errors);
-    }
-
-    public ReadFailedException(String message, Throwable cause, RpcError... errors) {
-        super(message, cause, errors);
-    }
-}