Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add URL to error message when StaxEventItemReader does not exist #3915

Closed
wants to merge 1 commit into from

Conversation

cppwfs
Copy link
Contributor

@cppwfs cppwfs commented May 18, 2021

resolves #1171

* EndDocument events.
*/
@Test
public void testNoResource() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already a test named testStrictness that uses a NonExistentResource for the use case related to the original issue. So I think there is no need to add this new test and its related getBadResource() method. We can update the existent test to assert that the exception's message now contains the URL of the resource.

I will take care of this on merge.

@fmbenhassine
Copy link
Contributor

Rebased and merged as 4444e46. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide better error message in StaxEventItemReader if Resource does not exist
2 participants