problemCache.add(problem);
problemLogger.logp(Level.INFO, problem.getSourceClassName(), problem.getContext(), problem.getMessageId(), problem
.getMessageParams());
} else if (problem.getSeverity() == Severity.WARNING) {
problemCache.add(problem);
problemLogger.logp(Level.WARNING, problem.getSourceClassName(), problem.getContext(), problem.getMessageId(), problem
.getMessageParams());
} else if (problem.getSeverity() == Severity.ERROR) {
if (problem.getCause() != null) {
problemCache.add(problem);
problemLogger.logp(Level.SEVERE, problem.getSourceClassName(), problem.getContext(), problem.getMessageId(), problem