361362363364365366367368369370371
} catch (InvalidResourceException ex) { error(request, "Invalid resource"); } catch (AdminProtocolException ex) { error(request, ex.getMessage()); } finally { rr.unlock(); } // Setup the reply: return okReply(request, bout.toByteArray()); }
10061007100810091010101110121013101410151016
g.append(name+ " cannot be loaded (server misconfigured)"); g.append("<br>\n"); continue; } finally { rr.unlock(); } } } g.close() ; listing_stamp = getLastModified() ;
156157158159160161162163164165166
} } catch (InvalidResourceException ex) { ex.printStackTrace(); r_wrapper = null; } finally { wrap.unlock(); } } } catch (ProtocolException ex) { ex.printStackTrace(); r_wrapper = null;
407408409410411412413414415416417
error(request, apex.getMessage()); } } catch (InvalidResourceException irex) { error(request, "invalid resource"); } finally { rr.unlock(); } // not reached: return null; }
15261527152815291530153115321533153415351536
FramedResource rindex = (FramedResource) rr.lock(); return rindex.lookup(ls,lr); } catch (InvalidResourceException ex) { } finally { rr.unlock(); } } } } }
444445446447448449450451452453454
error(request, apex.getMessage()); } } catch (InvalidResourceException ex2) { error(request, "invalid resource"); } finally { rr.unlock(); } // Not reached return null; }
24422443244424452446244724482449245024512452
} } } catch (InvalidResourceException ex) { continue; } finally { rr.unlock(); } } Reply reply = request.makeReply(HTTP.OK) ; reply.addPragma("no-cache"); reply.setNoCache();
491492493494495496497498499500501
error(request, apex.getMessage()); } } catch (InvalidResourceException ex) { error(request, "Invalid resource"); } finally { rr.unlock(); } // not reached: return null; }
521522523524525526527528529530531
error(request, "Bad request"); } } catch (InvalidResourceException ex) { error(request, "Invalid resource"); } finally { rr.unlock(); } // not reached return null; }
548549550551552553554555556557558