adding "Unknow member type" message to exception