318319320321322323324325326327328
ctx.rename( oldRdn, newRdn ); // Check, whether old Entry does not exists try { ctx.lookup( oldRdn ); fail( "Entry must not exist" ); } catch ( NameNotFoundException ignored ) { // expected behaviour
475476477478479480481482483484485
526527528529530531532533534535536
582583584585586587588589590591592
return; } boolean exists = true; try { resources.lookup(path); } catch (NamingException e) { exists = false; } boolean result = true;
733734735736737738739740741742743
return; } boolean exists = true; try { resources.lookup(path); } catch (NamingException e) { exists = false; } if (exists) {
681682683684685686687688689690691
} boolean exists = true; Object object = null; try { object = resources.lookup(path); } catch (NamingException e) { exists = false; } // Can't create a collection if a resource already exists at the given
10471048104910501051105210531054105510561057
} boolean exists = true; Object object = null; try { object = resources.lookup(path); } catch (NamingException e) { exists = false; } Enumeration locksList = null;
12091210121112121213121412151216121712181219
resourceLocks.put(lock.path, lock); // Checking if a resource exists at this path exists = true; try { object = resources.lookup(path); } catch (NamingException e) { exists = false; } if (!exists) {
16011602160316041605160616071608160916101611
return false; } boolean exists = true; try { resources.lookup(destinationPath); } catch (NamingException e) { exists = false; } if (overwrite) {
17871788178917901791179217931794179517961797
} boolean exists = true; Object object = null; try { object = resources.lookup(path); } catch (NamingException e) { exists = false; } if (!exists) {