jackson-core
jackson-core copied to clipboard
more JsonParser methods should declare throws
I'm suggesting this just for master branch (Jackson 3). See https://github.com/FasterXML/jackson-dataformat-xml/pull/660/files
Both isExpectedNumberIntToken and isExpectedStartArrayToken should be declared to throw StreamConstraintsException or a super class like JacksonException.