Parse XQueryException and return more info.