[
https://issues.apache.org/jira/browse/FELIX-6264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087483#comment-17087483
]
Carsten Ziegeler commented on FELIX-6264:
-----------------------------------------
[~rakeshk15] Best place for these questions is the Felix mailing list - but as
you asked here, i'll answer here.
cm.json is a Java API to read and write configuration resources as defined by
the OSGi configurator specification. It's not meant to be used by end consumers
directly. But tools or other bundles which have a need to deal with
configurations can use it and leverage the implementation. For example, the
Apache Felix implementation of the Configurator specification is now using
cm.json to read configuration resources.
> Catch JSON exceptions and rethrow as IOExceptions
> -------------------------------------------------
>
> Key: FELIX-6264
> URL: https://issues.apache.org/jira/browse/FELIX-6264
> Project: Felix
> Issue Type: Improvement
> Components: Configuration Admin
> Affects Versions: cm.json-1.0.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: cm.json-1.0.2
>
>
> If a JSON parsing or JSON writing exception occurs, this runtime exception is
> not catched. However the contract of the reader/writer is to throw
> IOExceptions in this case
--
This message was sent by Atlassian Jira
(v8.3.4#803005)