Add Exception

Add exception for undefined properties