Asynchronous Parsing Using Aalto: Handling Errors
Overview This article demonstrates how to handle parsing related errors during asynchronous StAX parsing using Aalto. Create employee.xml as shown below. Note that the end tag for ‘salary’ element is incorrect (see line 4 below). Create TestAsyncParsingError class as shown below. The parsing is done using wrapper class (see this article for further details). Catch … Read more