You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2022/01/11 13:37:00 UTC

[jira] [Created] (CAY-2728) Add special ExtendedType to generate user-friendly exceptions

Nikita Timofeev created CAY-2728:
------------------------------------

             Summary: Add special ExtendedType to generate user-friendly exceptions
                 Key: CAY-2728
                 URL: https://issues.apache.org/jira/browse/CAY-2728
             Project: Cayenne
          Issue Type: Improvement
          Components: Core Library
    Affects Versions: 4.2.B1
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.2.B2


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)