tableData.clear();
String impl = "<not declared>";
Throwable thrown;
if(event instanceof ProvisionFailureEvent) {
String label = "ProvisionFailureEvent."+eventNode.getValueAt(0);
ProvisionFailureEvent pfe = (ProvisionFailureEvent)event;
ServiceElement elem = pfe.getServiceElement();
if(elem.getComponentBundle()!=null)
impl = elem.getComponentBundle().getClassName();
thrown = pfe.getThrowable();
String exception = getExceptionText(thrown);
tableData.put("Event", label);
tableData.put("When", Constants.DATE_FORMAT.format(event.getDate()));
tableData.put("Deployment", elem.getOperationalStringName());
tableData.put("Service", elem.getName());
tableData.put("Class", impl);
StringBuilder builder = new StringBuilder();
for(String reason : pfe.getFailureReasons()) {
if(builder.length()>0)
builder.append("\n ");
builder.append(reason);
}
tableData.put("Reason", builder.toString());