com.atlassian.confluence.content.render.xhtml.migration.exceptions
Class ExceptionReportUtil

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.migration.exceptions.ExceptionReportUtil

public class ExceptionReportUtil
extends java.lang.Object

Utilities for logging exception details in an ExceptionReport.

Since:
5.3

Constructor Summary
ExceptionReportUtil()
           
 
Method Summary
static java.lang.String generateReportString(java.lang.String reportTitle, ExceptionReport report, boolean includeStackTrace)
          Generate a string suitable for logging from the given report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionReportUtil

public ExceptionReportUtil()
Method Detail

generateReportString

public static java.lang.String generateReportString(java.lang.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 message
report - the report
includeStackTrace - whether to include the details of any exceptions raised
Returns:
the report string


Copyright © 2003-2014 Atlassian. All Rights Reserved.