jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1652) Better 'invalid format' exception messages for value classes
Date Mon, 16 Jun 2008 14:23:44 GMT

     [ https://issues.apache.org/jira/browse/JCR-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexander Klimetschek updated JCR-1652:
---------------------------------------

    Attachment: JCR-1652.patch

Changes look like this:

-            throw new ValueFormatException("invalid format", e);
+            throw new ValueFormatException("not a valid double format: " + s, e);

If you all agree with this change, I will commit it.

> Better 'invalid format' exception messages for value classes
> ------------------------------------------------------------
>
>                 Key: JCR-1652
>                 URL: https://issues.apache.org/jira/browse/JCR-1652
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>            Reporter: Alexander Klimetschek
>         Attachments: JCR-1652.patch
>
>
> The valueOf() methods of the Value classes throw an exception without information on
the desired type and without the String value that gave the error.

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


Mime
View raw message