mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 09:46:16 +01:00
handle IOException of changesetviewer
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user