Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3875

Karaf scheduler should wrap QuartzException in exported SchedulerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.4, 4.2.0.M1, 4.2.0.M2
    • karaf
    • None

    Description

      I'd like to be able to use the Scheduler service that is registered. Unfortunately it's not possible because the schedule method on that service throws an org.quartz.Scheduler that is not exported by the Karaf Scheduler bundle.

      Maybe the exception should be wrapped into a new Exception defined by the bundle instead ? Because even if it is re-imported from another bundle I'm guessing there will be problems with class loading because the class instance will be generated from another class loader.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: