Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2728

Add ExtendedType to generate user-friendly exceptions for internally used values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2.B1
    • 4.2.RC1
    • Core Library
    • None

    Description

      We have some internal values that could be used in a DB query and cause exceptions. In that case all the information user get is a confusing message like this: "Haven't found suitable ExtendedType for class 'org.apache.cayenne.access.flush.IdGenerationMarker'". See CAY-2726 for example.

      We should add some special ExtendedType to handle those types and generate user-friendly exceptions.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: