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 @SuppressFBWarnings(value = "NM_SAME_SIMPLE_NAME_AS_SUPERCLASS", justification = "Migration")
17 public abstract class DOMRpcException extends org.opendaylight.mdsal.dom.api.DOMRpcException {
18 private static final long serialVersionUID = 1L;
21 * Construct an new instance with a message and an empty cause.
23 * @param message Exception message
25 protected DOMRpcException(final String message) {
30 * Construct an new instance with a message and a cause.
32 * @param message Exception message
33 * @param cause Chained cause
35 protected DOMRpcException(final String message, final Throwable cause) {
36 super(message, cause);