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
1 /*
2  * Copyright (c) 2016 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
9 package org.opendaylight.netconf.topology.singleton.messages.transactions;
10
11 import java.io.Serializable;
12
13 /**
14  * Message sent from master back to the slave when submit fails, with the offending exception attached.
15  */
16 public class SubmitFailedReply implements Serializable {
17     private static final long serialVersionUID = 1L;
18
19     private final Throwable throwable;
20
21     public SubmitFailedReply(final Throwable throwable) {
22         this.throwable = throwable;
23     }
24
25     public Throwable getThrowable() {
26         return throwable;
27     }
28 }