if (annotation != null)
{
AuditMessage audit = new AuditMessage();
String actionCode = annotation.actionCode();
String auditMessage = annotation.auditMessage();
Person principal = null;// determinePrincipal(annotation);
auditMessage = (exception == null ? ""
: "The following exception occurred: " + exception.toString());
audit.setId(UUID.randomUUID().toString());
audit.setActionCode(actionCode);