Applied exception handling to GetFriends7