Expose more fine-grained shutdown methods
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / datastore / node / utils / stream / 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.controller.cluster.datastore.node.utils.stream;
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  * @deprecated Use {@link org.opendaylight.yangtools.yang.data.codec.binfmt.InvalidNormalizedNodeStreamException}
18  *             instead.
19  */
20 @Deprecated(forRemoval = true)
21 public class InvalidNormalizedNodeStreamException extends IOException {
22     private static final long serialVersionUID = 1L;
23
24     public InvalidNormalizedNodeStreamException(final String message) {
25         super(message);
26     }
27
28     public InvalidNormalizedNodeStreamException(final String message, final Throwable cause) {
29         super(message, cause);
30     }
31 }