161162163164165166167168169170171
"in EventDispatcher:"); ex.printStackTrace(); } } finally { if (rr != null) rr.unlock(); } } catch (ThreadDeath death) { return; } catch (Throwable e) { if (queue.debug) {
547548549550551552553554555556557
if ( r instanceof FileResource ) k = ((FileResource) r).getFile().getAbsolutePath().toString(); } catch (InvalidResourceException ex) { // continue } finally { rr.unlock(); } } return (PutedEntry) entries.get(k); }
565566567568569570571572573574575
if ( r instanceof FileResource ) k = ((FileResource) r).getFile().getAbsolutePath().toString(); } catch (InvalidResourceException ex) { // continue } finally { rr.unlock(); } } return (DeletedEntry) dentries.get(k); }
253254255256257258259260261262263
if (res == null) return null; } catch (InvalidResourceException ex) { return null; } finally { rr.unlock(); } references.put(name, rr); return rr; }
15041505150615071508150915101511151215131514
// what should I do there? } } catch (InvalidResourceException ex) { // build error response? } finally { rr.unlock(); } } } DAVResponse responses[] = new DAVResponse[v.size()]; v.copyInto(responses);
24712472247324742475247624772478247924802481
// nothing I guess } } catch (InvalidResourceException ex) { // build error response? } finally { rr.unlock(); } } } if (multistatus) { throw new MultiStatusException(document);
25812582258325842585258625872588258925902591
29782979298029812982298329842985298629872988
Reply error = request.makeReply(HTTP.INTERNAL_SERVER_ERROR) ; error.setContent(ex.getMessage()); throw new HTTPException(error); } finally { rr.unlock(); } } } return request.makeReply(HTTP.NO_CONTENT); } else {
31633164316531663167316831693170317131723173
FramedResource rindex = (FramedResource) rr.lock(); return rindex.lookup(ls,lr); } catch (InvalidResourceException ex) { } finally { rr.unlock(); } } } } }
2021222324252627282930
} catch (InvalidResourceException ex) { ssource = "invalid"; } catch (Exception ex) { ssource = "invalid"; } finally { rr.unlock(); } String stype = null; switch (id) { case Events.RESOURCE_CREATED: stype = "RESOURCE_CREATED";