Move yang-common(-netty)
[yangtools.git] / codec / yang-data-codec-binfmt / src / main / java / org / opendaylight / yangtools / yang / data / codec / binfmt / InvalidNormalizedNodeStreamException.java
1 /*
2  * Copyright (c) 2015 Brocade Communications 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.yangtools.yang.data.codec.binfmt;
9
10 import java.io.IOException;
11
12 /**
13  * Exception thrown from NormalizedNodeInputStreamReader when the input stream does not contain
14  * valid serialized data.
15  *
16  * @author Thomas Pantelis
17  */
18 public class InvalidNormalizedNodeStreamException extends IOException {
19     private static final long serialVersionUID = 1L;
20
21     public InvalidNormalizedNodeStreamException(final String message) {
22         super(message);
23     }
24
25     public InvalidNormalizedNodeStreamException(final String message, final Throwable cause) {
26         super(message, cause);
27     }
28 }