Package uk.ac.osswatch.simal.wicket

Examples of uk.ac.osswatch.simal.wicket.UserReportableException


        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithMaintainer();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects with maintainer",
            ProjectsSummaryReportPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here


        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithoutMailingList();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects without mailing list",
            ProjectsSummaryReportPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here

        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithMailingList();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects with mailing list",
            ProjectsSummaryReportPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here

      WidgetInstance instance;
    try {
      instance = UserApplication.getWookieServerConnection(false).getOrCreateInstance(widget);
      populatePage(instance);
    } catch (SimalException e) {
        UserReportableException error = new UserReportableException(
              "Problem communicating with Wookie server", InstantiateWidgetPage.class);
      setResponsePage(new ErrorReportPage(error));
    }
  }
View Full Code Here

        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithoutHomepage();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects without homepage",
            ProjectsSummaryReportPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here

        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithHomepage();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects with homepage",
            ProjectsSummaryReportPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here

        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithoutRCS();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects without RCS",
            ProjectsSummaryReportPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here

        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithRCS();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects with RCS", ProjectsSummaryReportPage.class,
            e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here

        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithoutReview();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects needing review",
            ProjectsSummaryReportPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here

        Set<IProject> projects = SimalRepositoryFactory.getProjectService()
            .getProjectsWithReview();
        ProjectBrowserPage page = new ProjectBrowserPage(projects);
        setResponsePage(page);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get projects with review",
            ProjectsSummaryReportPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
    }
View Full Code Here

TOP

Related Classes of uk.ac.osswatch.simal.wicket.UserReportableException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.