catch getter/setter errors