sb.append("<td width=\"100%\" colspan=3>");
sb.append(fontify(e.getMessage()));
sb.append("</td>");
sb.append("</tr>");
ServiceReference sr = e.getServiceReference();
if (null!=sr) {
sb.append("<tr bgcolor=\"#eeeeee\">");
sb.append("<td width=\"100%\" colspan=\"3\">");
sb.append(fontify("Service Properties"));
sb.append("</td>");
sb.append("</tr>");
String[] propKeys = sr.getPropertyKeys();
for (int i=0; i<propKeys.length; i++) {
// Reuse service reference properties presentation form the
// services tab.
StringWriter sw = new StringWriter();
PrintWriter pr = new PrintWriter(sw);
try {
org.knopflerfish.bundle.desktop.swing.Util
.printObject(pr, sr.getProperty(propKeys[i]));
} catch (IOException ioe) {
}
sb.append("<tr>");
sb.append("<td valign=top align=left>" +fontify(propKeys[i]) +"</td>");