specified exceotion when trying to change type.