The close method
- Organization of this page
Description
Closes this object and releases the resources in use. If the hasMore or hasMoreElements method is repeatedly called until the return of false, calling this method is unnecessary.
Syntax
public void close() throws NamingException;
Parameters
None
Exception
- javax.naming.NamingException:
-
A NamingException has occurred while the object is closed.
Return value
None