Skip to content

Provide better error message in StaxEventItemReader if Resource does not exist #1171

Closed
@spring-projects-issues

Description

@spring-projects-issues

Gunnar Hillert opened BATCH-2431 and commented

Depending on the type of resource we should provide the name/URI as part of the exception description. A message like

Caused by: java.lang.IllegalStateException: Input resource must exist (reader is in 'strict' mode)

does not seem helpful.


Affects: 3.0.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions