getChangeset throws IOException and RepositoryException

This commit is contained in:
Sebastian Sdorra
2012-01-19 15:55:53 +01:00
parent 7585056947
commit 6a33e30b3b
2 changed files with 14 additions and 6 deletions

View File

@@ -51,10 +51,14 @@ public interface ChangesetViewer
* @param revision * @param revision
* *
* @return * @return
* *
* @since 1.12 * @since 1.12
*
* @throws IOException
* @throws RepositoryException
*/ */
public Changeset getChangeset(String revision); public Changeset getChangeset(String revision)
throws IOException, RepositoryException;
/** /**
* Method description * Method description

View File

@@ -103,14 +103,16 @@ public class ChangesetViewerUtil extends PartCacheClearHook
* @param revision * @param revision
* *
* @return * @return
* *
* @since 1.12 * @since 1.12
* *
*
* @throws IOException
* @throws NotSupportedFeatuerException * @throws NotSupportedFeatuerException
* @throws RepositoryException * @throws RepositoryException
*/ */
public Changeset getChangeset(Repository repository, String revision) public Changeset getChangeset(Repository repository, String revision)
throws RepositoryException, NotSupportedFeatuerException throws RepositoryException, IOException, NotSupportedFeatuerException
{ {
AssertUtil.assertIsNotNull(repository); AssertUtil.assertIsNotNull(repository);
@@ -165,15 +167,17 @@ public class ChangesetViewerUtil extends PartCacheClearHook
* @param revision * @param revision
* *
* @return * @return
* *
* @since 1.12 * @since 1.12
* *
*
* @throws IOException
* @throws NotSupportedFeatuerException * @throws NotSupportedFeatuerException
* @throws RepositoryException * @throws RepositoryException
* @throws RepositoryNotFoundException * @throws RepositoryNotFoundException
*/ */
public Changeset getChangeset(String repositoryId, String revision) public Changeset getChangeset(String repositoryId, String revision)
throws RepositoryNotFoundException, RepositoryException, throws RepositoryNotFoundException, IOException, RepositoryException,
NotSupportedFeatuerException NotSupportedFeatuerException
{ {
AssertUtil.assertIsNotEmpty(repositoryId); AssertUtil.assertIsNotEmpty(repositoryId);