default repository manager should throw RepositoryNotFoundException

This commit is contained in:
Sebastian Sdorra
2013-01-29 20:26:38 +01:00
parent 1e7ff1a71a
commit a5c24f54d5
2 changed files with 55 additions and 15 deletions

View File

@@ -104,7 +104,6 @@ public class DefaultRepositoryManager extends AbstractRepositoryManager
* @param configuration
* @param contextProvider
* @param keyGenerator
* @param securityContextProvider
* @param repositoryDAO
* @param handlerSet
* @param repositoryListenersProvider
@@ -253,7 +252,7 @@ public class DefaultRepositoryManager extends AbstractRepositoryManager
}
else
{
throw new RepositoryException(
throw new RepositoryNotFoundException(
"repository ".concat(repository.getName()).concat(" not found"));
}
@@ -381,7 +380,7 @@ public class DefaultRepositoryManager extends AbstractRepositoryManager
}
else
{
throw new RepositoryException(
throw new RepositoryNotFoundException(
"repository ".concat(repository.getName()).concat(" not found"));
}
@@ -413,7 +412,7 @@ public class DefaultRepositoryManager extends AbstractRepositoryManager
}
else
{
throw new RepositoryException(
throw new RepositoryNotFoundException(
"repository ".concat(repository.getName()).concat(" not found"));
}
}