* @return
* @throws Exception
*/
public Client setFriendlyName(int profileId, String clientUUID, String friendlyName) throws Exception {
// first see if this friendlyName is already in use
Client client = this.findClientFromFriendlyName(profileId, friendlyName);
if (client != null) {
throw new Exception("Friendly name already in use");
}
PreparedStatement statement = null;