2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.protocol.framework;
11 * Used when something occurs during parsing bytes to java objects.
13 * @deprecated This exception no longer carries any special meaning. Users
14 * are advised to stop using it and define their own replacement.
17 public class DeserializerException extends Exception {
19 private static final long serialVersionUID = -2247000673438452870L;
22 * Creates a deserializer exception.
25 public DeserializerException(final String err) {
30 * Creates a deserializer exception.
32 * @param e underlying exception
34 public DeserializerException(final String err, final Throwable e) {