diff options
Diffstat (limited to 'src/org/xbill/DNS/InvalidTypeException.java')
-rw-r--r-- | src/org/xbill/DNS/InvalidTypeException.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/org/xbill/DNS/InvalidTypeException.java b/src/org/xbill/DNS/InvalidTypeException.java new file mode 100644 index 0000000..7c61276 --- /dev/null +++ b/src/org/xbill/DNS/InvalidTypeException.java @@ -0,0 +1,18 @@ +// Copyright (c) 2003-2004 Brian Wellington (bwelling@xbill.org) + +package org.xbill.DNS; + +/** + * An exception thrown when an invalid type code is specified. + * + * @author Brian Wellington + */ + +public class InvalidTypeException extends IllegalArgumentException { + +public +InvalidTypeException(int type) { + super("Invalid DNS type: " + type); +} + +} |