Package javax.naming

Examples of javax.naming.LinkRef.clear()


  }

  public void testGetLinkName_NamingException() throws NamingException {
    String name = "www.apache.org/index.html";
    LinkRef linkRef = new LinkRef(name);
    linkRef.clear();
    try {
      linkRef.getLinkName();
      fail("It should throw a MalformedLinkException");
    } catch (MalformedLinkException e1) {
    }
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.