felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FELIX-3364) MetaDataReader exposes a private exception class on the public API
Date Thu, 18 Oct 2012 13:00:02 GMT

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

Felix Meschberger reassigned FELIX-3364:
----------------------------------------

    Assignee: Felix Meschberger
    
> MetaDataReader exposes a private exception class on the public API
> ------------------------------------------------------------------
>
>                 Key: FELIX-3364
>                 URL: https://issues.apache.org/jira/browse/FELIX-3364
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions: metatype-1.0.4
>            Reporter: Jeremias Maerki
>            Assignee: Felix Meschberger
>              Labels: patch
>         Attachments: xmlpullparser-visibility-patch.diff
>
>
> MetaDataReader can be useful outside the Metatype bundle and is part of the bundle's
public API. But some public methods of MetaDataReader expose XmlPullParserException which
is a private class (from the embedded xmlpull):
> public MetaData parse( URL url ) throws IOException, XmlPullParserException
> public MetaData parse( InputStream ins ) throws IOException, XmlPullParserException
> This prohibits the use of MetaDataReader from outside the Metatype bundle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message