Shuyi Chen | d7955ce | 2013-05-22 14:51:55 -0700 | [diff] [blame] | 1 | // Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) |
| 2 | |
| 3 | package org.xbill.DNS; |
| 4 | |
| 5 | import java.io.*; |
| 6 | |
| 7 | /** |
| 8 | * An exception thrown when a DNS message is invalid. |
| 9 | * |
| 10 | * @author Brian Wellington |
| 11 | */ |
| 12 | |
| 13 | public class WireParseException extends IOException { |
| 14 | |
| 15 | public |
| 16 | WireParseException() { |
| 17 | super(); |
| 18 | } |
| 19 | |
| 20 | public |
| 21 | WireParseException(String s) { |
| 22 | super(s); |
| 23 | } |
| 24 | |
| 25 | public |
| 26 | WireParseException(String s, Throwable cause) { |
| 27 | super(s); |
| 28 | initCause(cause); |
| 29 | } |
| 30 | |
| 31 | } |