Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4613

ConnIdUtil doesn't translate exceptions correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8
    • Component/s: Provisioning
    • Labels:
      None

      Description

      If connector sends AlreadyExistsException with cause of type SQLException (or others)...it's translated to GenericFrameworkException as lookForKnownCause method looks first for "random" types of known exceptions.

      We should split exceptions into two groups:

      • ConnectorExceptions subclasses
      • others

      and then handle those groups differently. Now the first groups is all around the place.

        Attachments

          Activity

            People

            Assignee:
            lazyman Viliam Repan
            Reporter:
            lazyman Viliam Repan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: