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 JsonEOFException as sub-class of JsonParseException #281

Closed
cowtowncoder opened this issue May 11, 2016 · 0 comments
Closed

Add JsonEOFException as sub-class of JsonParseException #281

cowtowncoder opened this issue May 11, 2016 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

Since unexpected end-of-input is a relatively common problem with input, it would make sense to expose it as distinct exception type, or, if more practical, using some property of JsonParseException that indicates this distinction.

The main is to eventually allow databinding to handle unexpected-eof in improved way to give better error messages.

@cowtowncoder cowtowncoder changed the title (2.8) Consider adding special EofParseException as sub-class of JsonParseException Consider adding special EofParseException as sub-class of JsonParseException May 27, 2016
@cowtowncoder cowtowncoder added this to the 2.8.0 milestone May 27, 2016
@cowtowncoder cowtowncoder changed the title Consider adding special EofParseException as sub-class of JsonParseException Add EofParseException as sub-class of JsonParseException May 27, 2016
@cowtowncoder cowtowncoder changed the title Add EofParseException as sub-class of JsonParseException Add JsonEOFException as sub-class of JsonParseException May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant