Fixed compilation breakage in Netconf CLI
[controller.git] / opendaylight / netconf / netconf-cli / src / main / java / org / opendaylight / controller / netconf / cli / reader / ReadingException.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.reader;
9
10 public class ReadingException extends Exception {
11
12     private static final long serialVersionUID = -298382323286156591L;
13
14     public ReadingException(final String msg, final Exception e) {
15         super(msg, e);
16     }
17
18     public ReadingException(final String msg) {
19         super(msg);
20     }
21
22     public static class IncorrectValueException extends ReadingException {
23
24         private static final long serialVersionUID = 164168437058431592L;
25
26         public IncorrectValueException(final String msg) {
27             super(msg);
28         }
29
30     }
31 }