Sorrounding the whole property parsing and setting code with try-catch