iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java
private javax.naming.Context callBindNewContext(NameComponent[] path)
            throws NamingException {
        if (_nc == null)
            throw IIOPLogger.ROOT_LOGGER.notANamingContext(path.toString());
        try {
            NamingContext nctx = _nc.bind_new_context(path);
            return new CNCtx(_orb, nctx, _env, makeFullName(path));
        } catch (Exception e) {
            throw org.wildfly.iiop.openjdk.naming.jndi.ExceptionMapper.mapException(e, this, path);
        }
    }
private javax.naming.Context callBindNewContext(NameComponent[] path)
            throws NamingException {
        if (_nc == null)
            throw IIOPLogger.ROOT_LOGGER.notANamingContext(path.toString());
        try {
            NamingContext nctx = _nc.bind_new_context(path);
            return new CNCtx(_orb, nctx, _env, makeFullName(path));
        } catch (Exception e) {
            throw org.wildfly.iiop.openjdk.naming.jndi.ExceptionMapper.mapException(e, this, path);
        }
    }
private javax . naming . Context callBindNewContext ( NameComponent [ ] path ) throws NamingException { if ( _nc == null ) throw IIOPLogger . ROOT_LOGGER . notANamingContext ( path . toString ( ) ) ; try { NamingContext nctx = _nc . bind_new_context ( path ) ; return new CNCtx ( _orb , nctx , _env , makeFullName ( path ) ) ; } catch ( Exception e ) { throw org . wildfly . iiop . openjdk . naming . jndi . ExceptionMapper . mapException ( e , this , path ) ; } }
Calls the bind_new_context COS naming api to create a new subcontext.

@param path NameComponent[] object
@return the new context object.
@throws NotFound      No objects under the name.
@throws org.omg.CosNaming.NamingContextPackage.CannotProceed Unable to obtain a continuation context
@throws org.omg.CosNaming.NamingContextPackage.InvalidName   Name not understood.
@throws org.omg.CosNaming.NamingContextPackage.AlreadyBound  An object is already bound to this name.
Calls the bind_new_context COS naming api to create a new subcontext .