Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / md / sal / binding / api / NotificationRejectedException.java
1 /*
2  * Copyright (c) 2015 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.md.sal.binding.api;
9
10 /**
11  * <p>
12  * This exception indicates that given notification can not be processed by corresponding mechanism.
13  * More info can be provided in message.
14  * </p>
15  * <p>
16  * Expected use: {@link NotificationPublishService}
17  * </p>
18  *
19  * @deprecated Use {@link org.opendaylight.mdsal.binding.api.NotificationRejectedException} instead.
20  */
21 @Deprecated
22 public class NotificationRejectedException extends Exception {
23     private static final long serialVersionUID = 1L;
24
25     public NotificationRejectedException(final String message) {
26         super(message);
27     }
28
29     public NotificationRejectedException(final String message, final Throwable cause) {
30         super(message, cause);
31     }
32 }