Code Review
/
netconf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fixup Augmentable and Identifiable methods changing"
[netconf.git]
/
netconf
/
netconf-topology-singleton
/
src
/
main
/
java
/
org
/
opendaylight
/
netconf
/
topology
/
singleton
/
messages
/
transactions
/
SubmitFailedReply.java
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 18e1f47393c01493398e9304114e6e4e08ac4d5c..7dfc19c0c6e79a000e9cb9db43c83e5e4d360b3b 100644
(file)
--- 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;
/**
import java.io.Serializable;
/**
- * Message sent from master back to the slave when submit
is not performed, tx is clos
ed.
+ * Message sent from master back to the slave when submit
fails, with the offending exception attach
ed.
*/
public class SubmitFailedReply implements Serializable {
private static final long serialVersionUID = 1L;
*/
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;
+ }
}
}