All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.couchbase.client.core.deps.org.xbill.DNS.RelativeNameException Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2003-2004 Brian Wellington ([email protected])

package com.couchbase.client.core.deps.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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy