[
https://issues.apache.org/jira/browse/JCR-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545865
]
angela commented on JCR-1190:
-----------------------------
4) the current implementation in jackrabbit-spi-commons is not consistent
regarding ValueFormatException.
It catches that NumberFormatException upon creating Double/Long values and
upon getDouble/getLong converting
it to ValueFormatException.
However, it does not apply the same logic for PropertyType.NAME and
PropertyType.PATH.
> QValueFactory improvements
> --------------------------
>
> Key: JCR-1190
> URL: https://issues.apache.org/jira/browse/JCR-1190
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-spi, jackrabbit-spi-commons
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Fix For: 1.4
>
>
> 1) Allow all create methods to throw RepositoryException.
> 2) Further document that create(value,type) can throw ValueFormatException.
> 3) Remove special case create(File)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.