public javax . naming . Context createSubcontext ( String name ) throws NamingException { return createSubcontext ( new CompositeName ( name ) ) ; }
Uses the callBindNewContext convenience function to create a new context . Throws an invalid name exception if the name is empty .