11501151115211531154115511561157115811591160
ex.printStackTrace(); return error(this, request, "Exception occurs.", ex.getMessage()); } finally { childref.unlock(); } } else { //no resource, remove the file only File file = new File( dirres.getDirectory(), name );
229230231232233234235236237238239
g.append(name+ " cannot be loaded (server misconfigured)"); g.append("<br>\n"); continue; } finally { rr.unlock(); } } } g.close() ; listing_stamp = getLastModified() ;
7374757677787980818283
} } } catch (InvalidResourceException ex) { } finally { rr.unlock(); } } values[ATTR_PASSTARGET] = null; values[ATTR_DIRSTAMP] = new Long(-1); } else if ( idx == ATTR_PASSTARGET ) {
158159160161162163164165166167168
type+ "\" couldn't be restored ("+ex.getMessage()+")"); getContext().getServer().errlog(msg); return null; } finally { rr.unlock(); } } /** * Create a default file resource for this file (that exists).
232233234235236237238239240241242
ex.printStackTrace() ; } } catch (InvalidResourceException ex) { ex.printStackTrace(); } finally { rr.unlock(); } } } // nothing found with this content-type, try usual indexing return super.createFileResource(directory, req, name, defs);
256257258259260261262263264265266
if (parent.definesAttribute("directory")) return (File) parent.getValue("directory", null); } catch(InvalidResourceException ex) { ex.printStackTrace(); } finally { rr.unlock(); } } return null; }
107108109110111112113114115116117
user.setPassword(newpassword); return true; } catch (InvalidResourceException ex) { return false; } finally { rr_user.unlock(); } } catch (InvalidResourceException ex) { return false; } finally { rr_realm.unlock();
208209210211212213214215216217218
ipmatcher.add(ips[i], rr_user) ; } } catch (InvalidResourceException ex) { System.out.println("Invalid user reference : "+uname); } finally { rr_user.unlock(); } } } catch (InvalidResourceException ex) { } finally {
304305306307308309310311312313314
: null ; } } catch (InvalidResourceException ex) { return null; } finally { rr_user.unlock(); } } return null; }
402403404405406407408409410411412
} } } catch (InvalidResourceException ex) { //FIXME } finally { rr_user.unlock(); } } // Check authentication according to auth method: if ((request.hasAuthorization() && ! request.isProxy()) || (request.isProxy() && request.hasProxyAuthorization())) {