2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.md.sal.dom.api;
10 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
13 * Base class for failures that can occur during RPC invocation. This covers
14 * transport and protocol-level failures.
16 * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMRpcException} instead.
18 @Deprecated(forRemoval = true)
19 @SuppressFBWarnings(value = "NM_SAME_SIMPLE_NAME_AS_SUPERCLASS", justification = "Migration")
20 public abstract class DOMRpcException extends org.opendaylight.mdsal.dom.api.DOMRpcException {
21 private static final long serialVersionUID = 1L;
24 * Construct an new instance with a message and an empty cause.
26 * @param message Exception message
28 protected DOMRpcException(final String message) {
33 * Construct an new instance with a message and a cause.
35 * @param message Exception message
36 * @param cause Chained cause
38 protected DOMRpcException(final String message, final Throwable cause) {
39 super(message, cause);