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