146147148149150151152153154155156
AuthUser user = (AuthUser) rr_user.lock(); createEntry(user); } catch (InvalidResourceException ex) { System.out.println("Invalid user reference : "+uname); } finally { rr_user.unlock(); } } } catch (InvalidResourceException ex) { } finally {
119120121122123124125126127128129
} catch (ClassNotFoundException cnfex) { cnfex.printStackTrace(); } catch (ServletException sex) { sex.printStackTrace(); } finally { rr.unlock(); } } } catch (ProtocolException pex) { pex.printStackTrace(); }
151152153154155156157158159160161
return null; } } catch (InvalidResourceException ex) { return null; } finally { rr.unlock(); } } /** * Initialize a servlet or create it if not found
437438439440441442443444445446447
} } } } catch (InvalidResourceException ex) { } finally { rr_user.unlock(); } } } // Every possible scheme has failed for this request, emit an error
182183184185186187188189190191192
try { ServletWrapper wrapper = (ServletWrapper) target.lock(); initialize(name, wrapper, parent); } finally { target.unlock(); } } else { // doesn't exists, so create it... initialize(name, null, parent); } } catch (ProtocolException pex) {
156157158159160161162163164165166
negotiated.setVariants(nvariants) ; } } catch (InvalidResourceException ex) { //FIXME } finally { rr_neg_frame.unlock(); } } } }
229230231232233234235236237238239
FramedResource resource = (FramedResource) rr.lock(); return (resource != null ) ? resource.lookup(ls, lr) : false; } catch (InvalidResourceException ex) { return false; } finally { rr.unlock(); } } return false; } }
130131132133134135136137138139140
} } catch (InvalidResourceException ex) { ex.printStackTrace(); return null; } finally { rr.unlock(); } } } /**
425426427428429430431432433434435
FramedResource rindex = (FramedResource) rr.lock(); return rindex.lookup(ls,lr); } catch (InvalidResourceException ex) { } finally { rr.unlock(); } } } } }
339340341342343344345346347348349
toDeleteRes = (Resource) rr.lock(); toDeleteRes.delete(); } catch (Exception ex) { // some other locks... or pb with the resource } finally { rr.unlock(); } } } catch (Exception ex) { // some other locks... abort } finally {