com.atlassian.confluence.upgrade.recovery
Class RecoveryErrorService

java.lang.Object
  extended by com.atlassian.confluence.upgrade.recovery.RecoveryErrorService
All Implemented Interfaces:
com.atlassian.dbexporter.ImportExportErrorService

public class RecoveryErrorService
extends Object
implements com.atlassian.dbexporter.ImportExportErrorService

This class creates RecoveryException instances for any errors.

Since:
v5.4

Constructor Summary
RecoveryErrorService()
           
 
Method Summary
 com.atlassian.activeobjects.spi.ImportExportException newImportExportException(String tableName, String message)
           
 com.atlassian.activeobjects.spi.ImportExportException newImportExportSqlException(String tableName, String message, SQLException e)
           
 com.atlassian.activeobjects.spi.ImportExportException newParseException(String message)
           
 com.atlassian.activeobjects.spi.ImportExportException newParseException(String message, Throwable t)
           
 com.atlassian.activeobjects.spi.ImportExportException newParseException(Throwable t)
           
 com.atlassian.activeobjects.spi.ImportExportException newRowImportSqlException(String tableName, long rowNum, SQLException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoveryErrorService

public RecoveryErrorService()
Method Detail

newImportExportException

public com.atlassian.activeobjects.spi.ImportExportException newImportExportException(String tableName,
                                                                                      String message)
Specified by:
newImportExportException in interface com.atlassian.dbexporter.ImportExportErrorService

newImportExportSqlException

public com.atlassian.activeobjects.spi.ImportExportException newImportExportSqlException(String tableName,
                                                                                         String message,
                                                                                         SQLException e)
Specified by:
newImportExportSqlException in interface com.atlassian.dbexporter.ImportExportErrorService

newRowImportSqlException

public com.atlassian.activeobjects.spi.ImportExportException newRowImportSqlException(String tableName,
                                                                                      long rowNum,
                                                                                      SQLException e)
Specified by:
newRowImportSqlException in interface com.atlassian.dbexporter.ImportExportErrorService

newParseException

public com.atlassian.activeobjects.spi.ImportExportException newParseException(Throwable t)
Specified by:
newParseException in interface com.atlassian.dbexporter.ImportExportErrorService

newParseException

public com.atlassian.activeobjects.spi.ImportExportException newParseException(String message)
Specified by:
newParseException in interface com.atlassian.dbexporter.ImportExportErrorService

newParseException

public com.atlassian.activeobjects.spi.ImportExportException newParseException(String message,
                                                                               Throwable t)
Specified by:
newParseException in interface com.atlassian.dbexporter.ImportExportErrorService


Copyright © 2003–2015 Atlassian. All rights reserved.