corrected exception message for missing getter