1// Copyright (c) 2003-2004 Brian Wellington (bwelling@xbill.org) 2 3package org.xbill.DNS; 4 5/** 6 * An exception thrown when an invalid type code is specified. 7 * 8 * @author Brian Wellington 9 */ 10 11public class InvalidTypeException extends IllegalArgumentException { 12 13public 14InvalidTypeException(int type) { 15 super("Invalid DNS type: " + type); 16} 17 18} 19