Allow PacketException to store the cause
[controller.git] / opendaylight / commons / liblldp / src / main / java / org / opendaylight / controller / liblldp / PacketException.java
index 39300a2..14990e1 100644 (file)
@@ -19,4 +19,8 @@ public class PacketException extends Exception {
     public PacketException(final String message) {
         super(message);
     }
+
+    public PacketException(String message, Throwable cause) {
+        super(message, cause);
+    }
 }

©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.