CronTriggerBean.afterPropertiesSet method throws a ParseException, should be an Exception, like in InitializingBean interface. [SPR-6048] #10717
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
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
The text was updated successfully, but these errors were encountered: