Person sender = senderAcc.getUserProfile();
try {
Long id = Long.parseLong(recipId);
recipient = contactService.loadPerson(id);
} catch (Exception e) {
throw new ButterflyException(ButterflyExceptionCode.USER002_INVALIDUSERID, "Invalid recipient ID provided - ID must be numeric", e);
}
PrivateMessage pm = new PrivateMessage();
pm.setDetails(msg);
pm.setAssignedTo(recipient);