You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/11/25 11:01:39 UTC

[jira] Created: (CAY-1315) Formattable exceptions

Formattable exceptions
----------------------

                 Key: CAY-1315
                 URL: https://issues.apache.org/jira/browse/CAY-1315
             Project: Cayenne
          Issue Type: Task
          Components: Cayenne Core Library
    Affects Versions: 3.1
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
            Priority: Trivial


I'd like to make Cayenne exception classes easier to use internally. Namely add Object... vararg to constructors taking String message. Then exceptions can be built using String.format capability, e.g.:

throw new CayenneRuntimeException("The entity '%s' is not found in DataMap '%s'", entityName, mapName);



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.