API-54 Throw specific exception if parameter is required