If an exception event occurs, the reason and return codes passed to it are those from the XML System Services parser, and the documentation provided with that parser explains what these return and reason codes mean.