public class

ExceptionReport

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.content.render.xhtml.migration.exceptions.ExceptionReport

Class Overview

A thread safe repository of exceptions that occurred during the site migration.

Summary

Public Constructors
ExceptionReport()
Public Methods
void addException(SettingsMigrationException ex)
void addException(ContentMigrationException ex)
void addException(PageTemplateMigrationException ex)
List<ContentMigrationException> getContentMigrationExceptions()
List<PageTemplateMigrationException> getPageTemplateExceptions()
List<SettingsMigrationException> getSettingsMigrationException()
boolean isErrored()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ExceptionReport ()

Public Methods

public void addException (SettingsMigrationException ex)

public void addException (ContentMigrationException ex)

public void addException (PageTemplateMigrationException ex)

public List<ContentMigrationException> getContentMigrationExceptions ()

Returns
  • a copy of the list ContentMigrationException exceptions. A client is free to manipulate this list as they wish.

public List<PageTemplateMigrationException> getPageTemplateExceptions ()

Returns
  • a copy of the list of PageTemplate exceptions. A client is free to manipulate this list as they wish.

public List<SettingsMigrationException> getSettingsMigrationException ()

Returns
  • a copy of the list of SettingsMigrationException exceptions. A client is free to manipulate this list as they wish.

public boolean isErrored ()

Returns
  • true if there are any exceptions recorded in the report