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.

Reply via email to