Merge "Kill Dynamic Actors when we're done with them"
[controller.git] / opendaylight / netconf / netconf-cli / src / main / java / org / opendaylight / controller / netconf / cli / writer / WriteException.java
1 /*
2  * Copyright (c) 2014 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.netconf.cli.writer;
9
10 public class WriteException extends Exception {
11
12     private static final long serialVersionUID = 8401242676753560336L;
13
14     public WriteException(final String msg, final Exception e) {
15         super(msg, e);
16     }
17
18     public WriteException(final String msg) {
19         super(msg);
20     }
21
22     public static class IncorrectNumberOfNodes extends WriteException {
23         private static final long serialVersionUID = 8910285140705622920L;
24
25         public IncorrectNumberOfNodes(final String msg) {
26             super(msg);
27         }
28     }
29 }