Strengthen endpoint parser exception handling