X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fapi%2FNotificationRejectedException.java;h=41c3a408a95b2578b889679e2d095406b5bf7ccd;hp=4423d79507ee7996925ca6c4d50531b2b64b3562;hb=60962894604d8264872b6b2904f0d87cb0c6f5a8;hpb=0f518a7ba2c8ceb3b4e9d038faca7c9b315db7d4 diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/NotificationRejectedException.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/NotificationRejectedException.java index 4423d79507..41c3a408a9 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/NotificationRejectedException.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/NotificationRejectedException.java @@ -5,23 +5,25 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.controller.md.sal.binding.api; /** - *

+ *

* This exception indicates that given notification can not be processed by corresponding mechanism. * More info can be provided in message. - *

+ *

*

* Expected use: {@link NotificationPublishService} *

*/ public class NotificationRejectedException extends Exception { + private static final long serialVersionUID = 1L; - private static final long serialVersionUID = 3722954527834860394L; - - public NotificationRejectedException(String message) { + public NotificationRejectedException(final String message) { super(message); } + + public NotificationRejectedException(final String message, final Throwable cause) { + super(message, cause); + } }