BUG-2573: mark CompositeNode-based RPC APIs obsolete
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / RpcImplementationUnavailableException.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.sal.core.api;
9
10 /**
11  * Exception reported when no RPC implementation is found in the system.
12  *
13  * @deprecated Use {@link org.opendaylight.controller.md.sal.dom.api.DOMRpcImplementationNotAvailableException} instead.
14  */
15 @Deprecated
16 public class RpcImplementationUnavailableException extends RuntimeException {
17     private static final long serialVersionUID = 1L;
18
19     public RpcImplementationUnavailableException(final String message) {
20         super(message);
21     }
22
23     public RpcImplementationUnavailableException(final String message, final Throwable cause) {
24         super(message, cause);
25     }
26 }