mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
getChangeset throws IOException and RepositoryException
This commit is contained in:
@@ -53,8 +53,12 @@ public interface ChangesetViewer
|
|||||||
* @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
|
||||||
|
|||||||
@@ -106,11 +106,13 @@ public class ChangesetViewerUtil extends PartCacheClearHook
|
|||||||
*
|
*
|
||||||
* @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);
|
||||||
|
|
||||||
@@ -168,12 +170,14 @@ public class ChangesetViewerUtil extends PartCacheClearHook
|
|||||||
*
|
*
|
||||||
* @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);
|
||||||
|
|||||||
Reference in New Issue
Block a user