aboutsummaryrefslogtreecommitdiff
path: root/src/org/xbill/DNS/WireParseException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/xbill/DNS/WireParseException.java')
-rw-r--r--src/org/xbill/DNS/WireParseException.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/org/xbill/DNS/WireParseException.java b/src/org/xbill/DNS/WireParseException.java
new file mode 100644
index 0000000..2842731
--- /dev/null
+++ b/src/org/xbill/DNS/WireParseException.java
@@ -0,0 +1,31 @@
+// 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);
+}
+
+public
+WireParseException(String s, Throwable cause) {
+ super(s);
+ initCause(cause);
+}
+
+}