[
https://issues.apache.org/jira/browse/JCR-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved JCR-736.
-------------------------------
Resolution: Cannot Reproduce
Assignee: Jukka Zitting
Are you sure about this? I just tested with the following code snippet and
received the correct exception.
Repository repository = new TransientRepository();
try {
repository.login("foo");
} catch (NoSuchWorkspaceException e) {
System.out.println("No such workspace!");
}
Note that NoSuchWorkspaceException extends RepositoryException, so you'd get
the same result if you used RepositoryException in the catch statement above.
Resolving as Cannot Reproduce.
> Wrong exeption returned from Repository.login(Credentials, String)
> ------------------------------------------------------------------
>
> Key: JCR-736
> URL: https://issues.apache.org/jira/browse/JCR-736
> Project: Jackrabbit
> Issue Type: Bug
> Components: JCR API
> Affects Versions: 1.2.1
> Environment: JRE 1.5.0_10, JBoss 4.0.5 GA, JBossWS 1.0.4 GA, WinXP SP2
> Reporter: Iaacov Rosenberg
> Assigned To: Jukka Zitting
>
> According to specification, calling Repository.login(Credentials, String)
> with a non-existent wokspaceName should return NoSuchWorkspaceException.
> In fact it returns RepositoryException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.