Class ExceptionReportUtil
java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.exceptions.ExceptionReportUtil
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.1
Utilities for logging exception details in an
ExceptionReport
.- Since:
- 5.3
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
generateReportString
(String reportTitle, ExceptionReport report, boolean includeStackTrace) Deprecated, for removal: This API element is subject to removal in a future version.Generate a string suitable for logging from the given report.
-
Constructor Details
-
ExceptionReportUtil
public ExceptionReportUtil()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
generateReportString
public static String generateReportString(String reportTitle, ExceptionReport report, boolean includeStackTrace) Deprecated, for removal: This API element is subject to removal in a future version.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
-