well there are some exceptions
PLus if the cat is not used to the hamster how is she to know he's part of the family ??:P
Before my guinea pig moved back to my parents' house, she was frequently around my cats to socialise them and get them used to each other. And FYI she didn't leave cos of the cats. My parents wanted the guinea pig to stay with them.