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

@@ -245,6 +245,8 @@ public class RepositoryResource
*
* @return
*
*
* @throws IOException
* @throws RepositoryException
*/
@GET
@@ -252,7 +254,7 @@ public class RepositoryResource
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public Response getChangesets(@PathParam("id") String id, @DefaultValue("0")
@QueryParam("start") int start, @DefaultValue("20")
@QueryParam("limit") int limit) throws RepositoryException
@QueryParam("limit") int limit) throws RepositoryException, IOException
{
Response response = null;