Package org.xbill.DNS

Examples of org.xbill.DNS.Name.wild()


    public void test_wild_toobig() throws TextParseException
    {
  Name sub = Name.fromString("a.b.c.");
  try {
      sub.wild(4);
      fail("IllegalArgumentException not thrown");
  }
  catch(IllegalArgumentException e){}
    }
View Full Code Here


    public void test_wild_toosmall() throws TextParseException
    {
  Name sub = Name.fromString("a.b.c.");
  try {
      sub.wild(0);
      fail("IllegalArgumentException not thrown");
  }
  catch(IllegalArgumentException e){}
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.