PageNotFoundException
Thrown when a requested page cannot be found.
960961962963964965966967
{ throw pnfe; } catch (Exception e) { throw new PageNotFoundException("Page template " + pageTemplatePath + " not found.", e); } }
10171018101910201021102210231024
{ throw pnfe; } catch (Exception e) { throw new PageNotFoundException("Dynamic page " + dynamicPagePath + " not found.", e); } }
10741075107610771078107910801081
{ throw pnfe; } catch (Exception e) { throw new PageNotFoundException("Fragment definition " + fragmentDefinitionPath + " not found.", e); } }
166167168169170171172173
FolderImpl folder = getNodeFolder(path); return folder.getPage(getNodeName(path)); } catch (FolderNotFoundException fnfe) { throw new PageNotFoundException(fnfe.getMessage()); } }
192193194195196197198199
FolderImpl folder = getNodeFolder(path); return folder.getPageTemplate(getNodeName(path)); } catch (FolderNotFoundException fnfe) { throw new PageNotFoundException(fnfe.getMessage()); } }
218219220221222223224225
FolderImpl folder = getNodeFolder(path); return folder.getDynamicPage(getNodeName(path)); } catch (FolderNotFoundException fnfe) { throw new PageNotFoundException(fnfe.getMessage()); } }
244245246247248249250251
FolderImpl folder = getNodeFolder(path); return folder.getFragmentDefinition(getNodeName(path)); } catch (FolderNotFoundException fnfe) { throw new PageNotFoundException(fnfe.getMessage()); } }
742743744745746747748749750751752
// select page by name from cached pages collection Page page = (Page)getPagesNodeSet().get(name); if (page == null) { throw new PageNotFoundException("Page not found: " + name); } // check for view access on page page.checkAccess(JetspeedActions.VIEW);
174175176177178179180181
308309310311312313314315316317318
{ // get page Page page = (Page) getAllNodes().subset(Page.DOCUMENT_TYPE).get(name); if (page == null) { throw new PageNotFoundException("Jetspeed PSML page not found: " + name); } // check access if (checkAccess) {