X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-topology-singleton%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Ftopology%2Fsingleton%2Fmessages%2Ftransactions%2FSubmitFailedReply.java;h=7dfc19c0c6e79a000e9cb9db43c83e5e4d360b3b;hb=0a95f4298a7f467b6c2eebf7904c8253cf3d5198;hp=18e1f47393c01493398e9304114e6e4e08ac4d5c;hpb=285079f8492f35b980d1d11745e02370229231a7;p=netconf.git diff --git a/netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/SubmitFailedReply.java b/netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/SubmitFailedReply.java index 18e1f47393..7dfc19c0c6 100644 --- a/netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/SubmitFailedReply.java +++ b/netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/SubmitFailedReply.java @@ -11,8 +11,18 @@ package org.opendaylight.netconf.topology.singleton.messages.transactions; import java.io.Serializable; /** - * Message sent from master back to the slave when submit is not performed, tx is closed. + * Message sent from master back to the slave when submit fails, with the offending exception attached. */ public class SubmitFailedReply implements Serializable { private static final long serialVersionUID = 1L; + + private final Throwable throwable; + + public SubmitFailedReply(final Throwable throwable) { + this.throwable = throwable; + } + + public Throwable getThrowable() { + return throwable; + } }