blob: 869fd39bb071df9380d54069125540b45a76fcb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2003-2004 Brian Wellington (bwelling@xbill.org)
package org.xbill.DNS;
/**
* An exception thrown when a relative name is passed as an argument to
* a method requiring an absolute name.
*
* @author Brian Wellington
*/
public class RelativeNameException extends IllegalArgumentException {
public
RelativeNameException(Name name) {
super("'" + name + "' is not an absolute name");
}
public
RelativeNameException(String s) {
super(s);
}
}
|