Altered parameter name retrieval so expression is only evaluated if an exception occurs