~ubuntu-branches/ubuntu/lucid/dnsjava/lucid

« back to all changes in this revision

Viewing changes to org/xbill/DNS/InvalidDClassException.java

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-07-21 15:17:03 UTC
  • Revision ID: james.westby@ubuntu.com-20090721151703-6v0107p1s3h7gv1c
Tags: upstream-2.0.6
ImportĀ upstreamĀ versionĀ 2.0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 dclass code is specified.
 
7
 *
 
8
 * @author Brian Wellington
 
9
 */
 
10
 
 
11
public class InvalidDClassException extends IllegalArgumentException {
 
12
 
 
13
public
 
14
InvalidDClassException(int dclass) {
 
15
        super("Invalid DNS class: " + dclass);
 
16
}
 
17
 
 
18
}