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.mdsal.dom.api;
11 * Base class for failures that can occur during RPC invocation. This covers
12 * transport and protocol-level failures.
14 public abstract class DOMRpcException extends Exception {
15 private static final long serialVersionUID = 1L;
18 * Construct an new instance with a message and an empty cause.
20 * @param message Exception message
22 protected DOMRpcException(final String message) {
27 * Construct an new instance with a message and a cause.
29 * @param message Exception message
30 * @param cause Chained cause
32 protected DOMRpcException(final String message, final Throwable cause) {
33 super(message, cause);