// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)

package org.xbill.DNS;

import java.io.*;

/**
 * An exception thrown when a DNS message is invalid.
 *
 * @author Brian Wellington
 */

public class WireParseException extends IOException {

public
WireParseException() {
	super();
}

public
WireParseException(String s) {
	super(s);
}

}

@@ -346,10 +346,86 @@
 (s);%0A%7D%0A%0A
+public%0AWireParseException(String s, Throwable cause) %7B%0A%09super(s, cause);%0A%7D%0A%0A
 %7D%0A

Add a constructor that takes a cause Exception.