You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Tom Quarendon (JIRA)" <ji...@apache.org> on 2017/09/12 09:27:00 UTC
[jira] [Comment Edited] (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=16162722#comment-16162722 ]
Tom Quarendon edited comment on KARAF-5364 at 9/12/17 9:26 AM:
---------------------------------------------------------------
Oh, OK. apologies. I didn't check master, sorry.
You're right. There's now a "SchedulerError" exception.
I'll let you close the issue with "check the source, dummy" :-)
was (Author: tomq42):
Oh, OK. apologies. I didn't check master, sorry.
You're right. There's now a "SchedulerError" exception.
> 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)