Skip to content

IllegalArgumentException thrown from afterPropertiesSet where IllegalStateException would be more appropriate #2244

Closed
@spring-projects-issues

Description

@spring-projects-issues

Iwein Fuld opened BATCH-1337 and commented

public void afterPropertiesSet() throws Exception {
		Assert.notNull(lineMapper, "LineMapper is required");
	}

Should use Assert.state instead imo.


Affects: 2.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions