Ignore:
Timestamp:
08/18/14 09:50:16 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Unit test for getting profiles and components from groups. A little bug is fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/frontend/StatisticsPage.java

    r5549 r5556  
    1414import clarin.cmdi.componentregistry.ComponentRegistryException;
    1515import clarin.cmdi.componentregistry.ComponentRegistryFactory;
     16import clarin.cmdi.componentregistry.ItemNotFoundException;
    1617import clarin.cmdi.componentregistry.RegistrySpace;
    1718import clarin.cmdi.componentregistry.UserUnauthorizedException;
     
    4243    }
    4344
    44     public StatisticsPage(final PageParameters pageParameters) throws IOException, ComponentRegistryException, UserUnauthorizedException {
     45    public StatisticsPage(final PageParameters pageParameters) throws IOException, ComponentRegistryException, UserUnauthorizedException, ItemNotFoundException {
    4546        super(pageParameters);
    4647        ComponentRegistry registry = componentRegistryFactory.getComponentRegistry(RegistrySpace.PUBLISHED, null, null, null);
     
    4950    }
    5051
    51     private void displayStatistics(ComponentRegistry registry) throws ComponentRegistryException, UserUnauthorizedException {
     52    private void displayStatistics(ComponentRegistry registry) throws ComponentRegistryException, UserUnauthorizedException, ItemNotFoundException {
    5253        List<ProfileDescription> profileList = registry.getProfileDescriptions();
    5354        RepeatingView repeating = new RepeatingView("repeating");
Note: See TracChangeset for help on using the changeset viewer.