changed exception type for parser argument errors