Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-472

Wrap IllegalArgumentException from UUID when bad ID passed to Session.getNodeByUUID

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9, 1.0, 1.0.1
    • 1.1
    • jackrabbit-core
    • None
    • WinXP

    Description

      Hi,

      On 6/30/06, David Kennedy <davek@us.ibm.com> wrote:
      > When invoking session.getNodeByUUID and passing an invalid ID, an
      > IllegalArgumentException is thrown. Should this be wrapped in an
      > ItemNotFoundException or RepositoryException by SessionImpl?

      Good point, an ItemNotFoundException would probably be best. Could you
      please file a Jira issue for this?

      BR,

      Jukka Zitting

      Attachments

        1. invalid-uuid.r418656.patch
          0.8 kB
          Jukka Zitting
        2. invalid-uuid.r418741.patch
          0.8 kB
          Jukka Zitting

        Activity

          People

            jukkaz Jukka Zitting
            davek2 David Kennedy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: