You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/09/12 08:46:00 UTC
[jira] [Commented] (KARAF-5364)
org.apache.karaf.scheduler.Scheduler.schedule declares throws
org.quartz.SchedulerException, but that's not API
[ https://issues.apache.org/jira/browse/KARAF-5364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162683#comment-16162683 ]
Jean-Baptiste Onofré commented on KARAF-5364:
---------------------------------------------
I think I fixed that already. Let me double check.
> 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)