import java.io.PrintWriter;
import java.io.StringWriter;
+import java.time.LocalDateTime;
+import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
} catch (Exception e) {
// Nothing to do
}
+
+ // add time stamps
+ LocalDateTime date = LocalDateTime.now();
+ String dateTimeStr = date.format(DateTimeFormatter.ISO_DATE_TIME);
+
+ contextInfo.add("time : " + dateTimeStr);
contextInfo.add("login : " + login);
contextInfo.add("editor version : " + version);
contextInfo.add("server : " + server + " (" + name + ")" + (CdmUtils.isNotBlank(contextPath)?" / "+contextPath:""));
boolean showReason) {
Throwable throwable = t;
- StringBuffer sbStackTrace = new StringBuffer();
// We need to build a MultiStatus object since the simple
// idea of writing out the stack trace as a single string
@Override
public void run() {
- MultiStatus info = null;
+
String title = null;
// FIXME cannot access TaxonomicEditorPlugin.PLUGIN_ID from here
+ // FIXME is there any reason for keeping the lines below?
// String PID = TaxonomicEditorPlugin.PLUGIN_ID;
- String PID = "eu.etaxonomy.taxeditor.application";
+ // String PID = "eu.etaxonomy.taxeditor.application";
// checking security exceptions for every operation
RuntimeException securityRuntimeException = SecurityExceptionUtils.findSecurityRuntimeException(ex);