woodstox icon indicating copy to clipboard operation
woodstox copied to clipboard

Error-Codes for all Parse/Write-Exceptions and Errors.

Open flappingeagle opened this issue 6 years ago • 0 comments

Like asked at Stackoverflow: https://stackoverflow.com/questions/50911195/can-woodstox-error-messages-be-customized

Cite of Staxman:

addition of formal error codes in Exceptions seems like a good improvement (Stax spec/API does not have those, but Woodstox implementation types could, either directly, or as tag interface). One potential challenge might be that of how to templatize things (how to add pertinent pieces of information within message). But adding error codes seems like a good start.

I will also take a look at the codebase and see if i can provide a pull-request for this.

flappingeagle avatar Jun 20 '18 07:06 flappingeagle