com.atlassian.confluence.content.render.xhtml.migration.exceptions
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 an ExceptionReport
.
- Since:
- 5.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionReportUtil
public ExceptionReportUtil()
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
Copyright © 2003–2015 Atlassian. All rights reserved.