Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-582

Throw IllegalArgumentException on invalid paths instead of a RepositoryException (subtype)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • core, jcr
    • None

    Description

      This is a follow up to OAK-563. As discussed there, passing syntactically invalids paths to Oak should rather return in an IllegalArgumentException instead of a (subtype) of a RepositoryException as this is clearly a programmer's error and not an exception condition of the repository itself.

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: