1 package com.atlassian.dbexporter;
2
3 import com.atlassian.activeobjects.spi.ImportExportException;
4
5 import java.sql.SQLException;
6
7 public interface ImportExportErrorService {
8 ImportExportException newImportExportException(String tableName, String message);
9
10 ImportExportException newImportExportSqlException(String tableName, String message, SQLException e);
11
12 ImportExportException newRowImportSqlException(String tableName, long rowNum, SQLException e);
13
14 ImportExportException newParseException(Throwable t);
15
16 ImportExportException newParseException(String message);
17
18 ImportExportException newParseException(String message, Throwable t);
19 }