Allow PacketException to store the cause
[controller.git] / opendaylight / commons / liblldp / src / main / java / org / opendaylight / controller / liblldp / PacketException.java
index 39300a28903dd174a3e13d7c2572f72a001356cf..14990e1ccbfd3ab1234745c8d9da38302e85b553 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);
+    }
 }