karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-5364) org.apache.karaf.scheduler.Scheduler.schedule declares throws org.quartz.SchedulerException, but that's not API
Date Tue, 12 Sep 2017 09:28:00 GMT

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

Jean-Baptiste Onofré resolved KARAF-5364.
-----------------------------------------
    Resolution: Duplicate

> org.apache.karaf.scheduler.Scheduler.schedule declares throws org.quartz.SchedulerException,
but that's not API
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-5364
>                 URL: https://issues.apache.org/jira/browse/KARAF-5364
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-scheduler
>            Reporter: Tom Quarendon
>            Assignee: Jean-Baptiste Onofré
>
> The org.apache.karaf.scheduler.Scheduler.schedule methods are declared as throwing org.quartz.SchedulerException.

> This leaks the implementation, but also SchedulerException is not exported from the bundle,
so you get a "Discouraged access" whinge if you try and catch it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message