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

public class ExceptionReport extends Object
A thread safe repository of exceptions that occurred during the site migration.
  • Constructor Details

    • ExceptionReport

      public ExceptionReport()
  • Method Details

    • addException

      @Deprecated(forRemoval=true) public void addException(PageTemplateMigrationException ex)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 10.1 no longer used
    • addException

      public void addException(ContentMigrationException ex)
    • addException

      @Deprecated(forRemoval=true) public void addException(SettingsMigrationException ex)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 10.1 no longer used
    • addUncategorizedMigrationException

      public void addUncategorizedMigrationException(MigrationException ex)
    • isErrored

      public boolean isErrored()
      Returns:
      true if there are any exceptions recorded in the report
    • getPageTemplateExceptions

      @Deprecated(forRemoval=true) public List<PageTemplateMigrationException> getPageTemplateExceptions()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 10.1 no longer used
      Returns:
      a copy of the list of PageTemplate exceptions. A client is free to manipulate this list as they wish.
    • getContentMigrationExceptions

      public List<ContentMigrationException> getContentMigrationExceptions()
      Returns:
      a copy of the list ContentMigrationException exceptions. A client is free to manipulate this list as they wish.
    • getSettingsMigrationException

      @Deprecated(forRemoval=true) public List<SettingsMigrationException> getSettingsMigrationException()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 10.1 no longer used
    • getUncategorizedMigrationExceptions

      public List<MigrationException> getUncategorizedMigrationExceptions()
      Returns:
      a copy of the list of general MigrationException exceptions. A client is free to manipulate this list as they wish.
    • toString

      public String toString()
      Overrides:
      toString in class Object