• Afraid you can't use TRY - CATCH in a T-SQL UDF.