} catch (Exception npe) {
// do nothing
userName = "";
}
ErrorLogVO errorLog = new ErrorLogVO();
errorLog.setErrorDate(new Date());
errorLog.setLoggedBy(userName);
errorLog.setLastModifiedBy(userName);
errorLog.setErrorMessage(messg);
errorLog.setCause(cause);
errorLog.setTrace(trace);
loggerService.addErrorLog(errorLog);
// 700: Insufficient Priviledges