/** * Calls the destroy on the COS Naming Server * * @param nc The NamingContext object to use. * @throws org.omg.CosNaming.NamingContextPackage.NotEmpty when the context is not empty and cannot be destroyed. */ private void callDestroy(NamingContext nc) throws NamingException { if (_nc == null) throw IIOPLogger.ROOT_LOGGER.notANamingContext(nc.toString()); try { nc.destroy(); } catch (Exception e) { throw org.wildfly.iiop.openjdk.naming.jndi.ExceptionMapper.mapException(e, this, null); } }
/** * Calls the destroy on the COS Naming Server * * @param nc The NamingContext object to use. * @throws org.omg.CosNaming.NamingContextPackage.NotEmpty when the context is not empty and cannot be destroyed. */ private void callDestroy(NamingContext nc) throws NamingException { if (_nc == null) throw IIOPLogger.ROOT_LOGGER.notANamingContext(nc.toString()); try { nc.destroy(); } catch (Exception e) { throw org.wildfly.iiop.openjdk.naming.jndi.ExceptionMapper.mapException(e, this, null); } }
/** * Calls the destroy on the COS Naming Server * * @param nc The NamingContext object to use. * @throws org.omg.CosNaming.NamingContextPackage.NotEmpty when the context is not empty and cannot be destroyed. */ private void callDestroy(NamingContext nc) throws NamingException { if (_nc == null) throw IIOPLogger.ROOT_LOGGER.notANamingContext(nc.toString()); try { nc.destroy(); } catch (Exception e) { throw org.wildfly.iiop.openjdk.naming.jndi.ExceptionMapper.mapException(e, this, null); } }
/** * Calls the destroy on the COS Naming Server * @param nc The NamingContext object to use. * @exception NotEmpty when the context is not empty and cannot be destroyed. */ private void callDestroy(NamingContext nc) throws NamingException { if (_nc == null) throw new ConfigurationException( "Context does not have a corresponding NamingContext"); try { nc.destroy(); } catch (Exception e) { throw ExceptionMapper.mapException(e, this, null); } }
try { if(nc != null) nc.destroy(); } catch (org.omg.CosNaming.NamingContextPackage.NotEmpty e) {
context.destroy(); } catch (org.omg.CosNaming.NamingContextPackage.NotEmpty e) {
context.destroy(); } catch (org.omg.CosNaming.NamingContextPackage.NotEmpty e) {
try { if(nc != null) nc.destroy(); } catch (org.omg.CosNaming.NamingContextPackage.NotEmpty e) {