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 java.lang.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(java.lang.String tableName, java.lang.String message)
           
 com.atlassian.activeobjects.spi.ImportExportException newImportExportSqlException(java.lang.String tableName, java.lang.String message, java.sql.SQLException e)
           
 com.atlassian.activeobjects.spi.ImportExportException newParseException(java.lang.String message)
           
 com.atlassian.activeobjects.spi.ImportExportException newParseException(java.lang.String message, java.lang.Throwable t)
           
 com.atlassian.activeobjects.spi.ImportExportException newParseException(java.lang.Throwable t)
           
 com.atlassian.activeobjects.spi.ImportExportException newRowImportSqlException(java.lang.String tableName, long rowNum, java.sql.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(java.lang.String tableName,
                                                                                      java.lang.String message)
Specified by:
newImportExportException in interface com.atlassian.dbexporter.ImportExportErrorService

newImportExportSqlException

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

newRowImportSqlException

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

newParseException

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

newParseException

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

newParseException

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.