Class ExceptionReportUtil
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.migration.exceptions.ExceptionReportUtil
-
public class ExceptionReportUtil extends Object
Utilities for logging exception details in anExceptionReport
.- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description ExceptionReportUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
generateReportString(String reportTitle, ExceptionReport report, boolean includeStackTrace)
Generate a string suitable for logging from the given report.
-
-
-
Method Detail
-
generateReportString
public static String generateReportString(String reportTitle, ExceptionReport report, boolean includeStackTrace)
Generate a string suitable for logging from the given report.- Parameters:
reportTitle
- the title to include at the top of the log messagereport
- the reportincludeStackTrace
- whether to include the details of any exceptions raised- Returns:
- the report string
-
-