Shuyi Chen | d7955ce | 2013-05-22 14:51:55 -0700 | [diff] [blame] | 1 | // Copyright (c) 2003-2004 Brian Wellington (bwelling@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 | } |