crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/model/HtmlFormatter.java
--- a/crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/model/HtmlFormatter.java Tue Feb 23 17:04:33 2010 +0200
+++ b/crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/model/HtmlFormatter.java Tue Apr 20 14:41:43 2010 +0300
@@ -141,7 +141,12 @@
// format exit information
if (thread != null) {
if (!"".equals(thread.getFullName())) {
- description += BOLD + "Crashed Thread: " + BOLD_END + thread.getFullName() + BREAK;
+ if (thread.getExitType().equalsIgnoreCase("Panic") ||
+ thread.getExitType().equalsIgnoreCase("Exception")) {
+ description += BOLD + "Crashed Thread: " + BOLD_END + thread.getFullName() + BREAK;
+ } else {
+ description += BOLD + "Thread: " + BOLD_END + thread.getFullName() + BREAK;
+ }
}
if (!"".equals(thread.getExitType())) {
description += BOLD + "Exit Type: " + BOLD_END + thread.getExitType() + BREAK;
@@ -289,4 +294,21 @@
panic +
"\">report this missing error description</a>";
}
+
+ /**
+ * Creates a HTML message about registration message.
+ * @return HTML string about registration message.
+ */
+ public static String formatRegistrationMessage() {
+ return "<H4>This is not a crash file!</H4><b>This is a registration message.</b>";
+ }
+
+ /**
+ * Creates a HTML message about report.
+ * @return HTML string about report.
+ */
+ public static String formatReport() {
+ return "<H4>This is not a crash file!</H4><b>This is a report.</b>";
+ }
+
}