String (ObjectReference monitor) { String monitorTypeName; try { monitorTypeName = monitor.referenceType().name(); } catch (Throwable e) { monitorTypeName = "Error getting object type: '" + e.getMessage() + "'"; } return JavaDebuggerBundle.message("threads.export.attribute.label.object-id", Long.toHexString(monitor.uniqueID()), monitorTypeName); }