39300a28903dd174a3e13d7c2572f72a001356cf
[controller.git] / opendaylight / commons / liblldp / src / main / java / org / opendaylight / controller / liblldp / PacketException.java
1 /*
2  * Copyright (c) 2013 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.liblldp;
9
10 /**
11  * Describes an exception that is raised when the process of serializing or
12  * deserializing a network packet/stream fails. This generally happens when the
13  * packet/stream is malformed.
14  *
15  */
16 public class PacketException extends Exception {
17     private static final long serialVersionUID = 1L;
18
19     public PacketException(final String message) {
20         super(message);
21     }
22 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.