karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Quarendon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5364) org.apache.karaf.scheduler.Scheduler.schedule declares throws org.quartz.SchedulerException, but that's not API
Date Tue, 12 Sep 2017 08:45:00 GMT
Tom Quarendon created KARAF-5364:
------------------------------------

             Summary: 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
            Reporter: Tom Quarendon


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