BUG-3128: Update RPC router concepts
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / md / sal / dom / api / DOMNotificationRejectedException.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.dom.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  *
15  * <p>
16  * Expected use: {@link DOMNotificationPublishService}
17  */
18 public class DOMNotificationRejectedException extends Exception {
19     private static final long serialVersionUID = 1L;
20
21     public DOMNotificationRejectedException(final String message) {
22         super(message);
23     }
24
25     public DOMNotificationRejectedException(final String message, final Throwable cause) {
26         super(message, cause);
27     }
28 }