Skip to content

CronTriggerBean.afterPropertiesSet method throws a ParseException, should be an Exception, like in InitializingBean interface. [SPR-6048] #10717

@spring-projects-issues

Description

@spring-projects-issues

Theo Gülcher opened SPR-6048 and commented

org.springframework.scheduling.quartz.CronTriggerBean implements InitializingBean

In the method afterPropertiesSet it changes the throws Exception of InitializingBean into an ParseException.

I made an ConfigurableCronTriggerBean which extends org.springframework.scheduling.quartz.CronTriggerBean.
In the afterPropertiesSet, I can only throw a ParseException and not my own Exception class.

I think this is a bug.


Affects: 2.5.6

Referenced from: commits 414d663

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions