handle IOException of changesetviewer

This commit is contained in:
Sebastian Sdorra
2011-09-29 14:14:51 +02:00
parent 389a25924e
commit 7efb7d2e6b
2 changed files with 6 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ package sonia.scm.repository;
import com.google.inject.Inject;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -107,7 +108,7 @@ public class ChangesetViewerUtil extends CacheClearHook
*/
public ChangesetPagingResult getChangesets(String repositoryId, int start,
int max)
throws RepositoryException, NotSupportedFeatuerException
throws IOException, RepositoryException, NotSupportedFeatuerException
{
AssertUtil.assertIsNotEmpty(repositoryId);
@@ -137,7 +138,7 @@ public class ChangesetViewerUtil extends CacheClearHook
*/
public ChangesetPagingResult getChangesets(Repository repository, int start,
int max)
throws RepositoryException, NotSupportedFeatuerException
throws IOException, RepositoryException, NotSupportedFeatuerException
{
AssertUtil.assertIsNotNull(repository);